Skip to content

Commit

Permalink
Auto merge of #1341 - alexcrichton:issue-1333, r=huonw
Browse files Browse the repository at this point in the history
Closes #1333
  • Loading branch information
bors committed Feb 24, 2015
2 parents 5bb4d8d + 777eadb commit 8738c61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cargo/ops/registry.rs
Expand Up @@ -161,7 +161,7 @@ pub fn registry(config: &Config,

/// Create a new HTTP handle with appropriate global configuration for cargo.
pub fn http_handle(config: &Config) -> CargoResult<http::Handle> {
let handle = http::handle();
let handle = http::handle().timeout(60);
let handle = match try!(http_proxy(config)) {
Some(proxy) => handle.proxy(proxy),
None => handle,
Expand Down
2 changes: 1 addition & 1 deletion src/doc/config.md
Expand Up @@ -73,7 +73,7 @@ token = "..." # Access token (found on the central repo's website)

[http]
proxy = "..." # HTTP proxy to use for HTTP requests (defaults to none)
timeout = 30000 # Timeout for each HTTP request, in milliseconds
timeout = 60000 # Timeout for each HTTP request, in milliseconds

[build]
jobs = 1 # number of jobs to run by default (default to # cpus)
Expand Down

0 comments on commit 8738c61

Please sign in to comment.