mirror of
https://github.com/NixOS/nix.git
synced 2025-02-24 04:43:15 +00:00
Merge pull request #2727 from Chakerbh/master
Add a 5 seconds of timeout to connecting to S3.
This commit is contained in:
commit
806291d18c
@ -126,6 +126,7 @@ ref<Aws::Client::ClientConfiguration> S3Helper::makeConfig(const string & region
|
||||
res->endpointOverride = endpoint;
|
||||
}
|
||||
res->requestTimeoutMs = 600 * 1000;
|
||||
res->connectTimeoutMs = 5 * 1000;
|
||||
res->retryStrategy = std::make_shared<RetryStrategy>();
|
||||
res->caFile = settings.caFile;
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user