Skip to content

Increase Rust detection timeout to 3 seconds#1130

Merged
bors merged 2 commits intorust-lang:masterfrom
mati865:master
May 22, 2017
Merged

Increase Rust detection timeout to 3 seconds#1130
bors merged 2 commits intorust-lang:masterfrom
mati865:master

Conversation

@mati865
Copy link
Copy Markdown
Member

@mati865 mati865 commented May 22, 2017

Fixes #1118

With 3 seconds timeout cold start isn't issue anymore.

To simulate cold start use:

sync ; echo 3 | sudo tee /proc/sys/vm/drop_caches
rustup update

@Diggsey
Copy link
Copy Markdown
Contributor

Diggsey commented May 22, 2017

Thanks for the PR!

The second part of solving #1118 is to provide a different error message for when the timeout occurs, vs when the command fails - would you be able to update the PR to include that change too? Then the issue can be closed out.

@mati865
Copy link
Copy Markdown
Member Author

mati865 commented May 22, 2017

No problem, I'll do it later today.

@mati865
Copy link
Copy Markdown
Member Author

mati865 commented May 22, 2017

Cold start, damaged nightly rustc to cause second error:

$ home/bin/rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: checking for self-updates

   stable-x86_64-unknown-linux-gnu unchanged - (timed out reading rustc version)
  nightly-x86_64-unknown-linux-gnu unchanged - (error reading rustc version)

Should I squash commits?

@Diggsey
Copy link
Copy Markdown
Contributor

Diggsey commented May 22, 2017

No, that's fine, thanks!
@bors r+

@bors
Copy link
Copy Markdown
Contributor

bors commented May 22, 2017

📌 Commit b8a0dda has been approved by Diggsey

@bors
Copy link
Copy Markdown
Contributor

bors commented May 22, 2017

⌛ Testing commit b8a0dda with merge 8f1d735...

bors added a commit that referenced this pull request May 22, 2017
Increase Rust detection timeout to 3 seconds

Fixes #1118

With 3 seconds timeout cold start isn't issue anymore.

To simulate cold start use:
```
sync ; echo 3 | sudo tee /proc/sys/vm/drop_caches
rustup update
```
@bors
Copy link
Copy Markdown
Contributor

bors commented May 22, 2017

💔 Test failed - status-travis

@Diggsey
Copy link
Copy Markdown
Contributor

Diggsey commented May 22, 2017

@bors retry

@bors
Copy link
Copy Markdown
Contributor

bors commented May 22, 2017

⌛ Testing commit b8a0dda with merge 6bc3ec5...

bors added a commit that referenced this pull request May 22, 2017
Increase Rust detection timeout to 3 seconds

Fixes #1118

With 3 seconds timeout cold start isn't issue anymore.

To simulate cold start use:
```
sync ; echo 3 | sudo tee /proc/sys/vm/drop_caches
rustup update
```
@bors
Copy link
Copy Markdown
Contributor

bors commented May 22, 2017

💔 Test failed - status-appveyor

@Diggsey
Copy link
Copy Markdown
Contributor

Diggsey commented May 22, 2017

@bors retry

@bors
Copy link
Copy Markdown
Contributor

bors commented May 22, 2017

⌛ Testing commit b8a0dda with merge 5d67261...

bors added a commit that referenced this pull request May 22, 2017
Increase Rust detection timeout to 3 seconds

Fixes #1118

With 3 seconds timeout cold start isn't issue anymore.

To simulate cold start use:
```
sync ; echo 3 | sudo tee /proc/sys/vm/drop_caches
rustup update
```
@bors
Copy link
Copy Markdown
Contributor

bors commented May 22, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: Diggsey
Pushing 5d67261 to master...

@bors bors merged commit b8a0dda into rust-lang:master May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants