Set timeout to 60sec.

This commit is contained in:
André Cruz
2013-07-23 22:50:40 +01:00
parent e1aa43147d
commit 15dca65bd1
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ function RegistryClient(config, logger) {
// Timeout
if (typeof config.timeout !== 'number') {
config.timeout = 5000;
config.timeout = 60000;
}
// Strict ssl

View File

@@ -25,7 +25,7 @@ Available constructor options:
- `httpsProxy`: the proxy to use for https requests (defaults to null)
- `strictSsl`: whether or not to do SSL key validation when making requests via https (defaults to true).
- `userAgent`: the user agent to use for the requests (defaults to null)
- `timeout`: the timeout for the requests to finish (defaults to 5000)
- `timeout`: the timeout for the requests to finish (defaults to 60000)
- `force`: If set to true, cache will be bypassed and remotes will always be hit (defaults to false).
- `offline`: If set to true, only the cache will be used (defaults to false).