diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-03-27T16·54+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-05-30T11·29+0200 |
commit | c1d445ececa4ea17bd5b5bff3d5fb3515be723cb (patch) | |
tree | 7525bd6d8edf747037f38cf827c9935506aac5bd /src/libstore/globals.hh | |
parent | 737ed88f35ffddb2cb0d5e4b192e20a7b9439682 (diff) |
Move some Download-specific settings to download.cc
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r-- | src/libstore/globals.hh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index e8d95aed6054..881032cf6fa1 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -256,13 +256,6 @@ public: Setting<Strings> secretKeyFiles{this, {}, "secret-key-files", "Secret keys with which to sign local builds."}; - Setting<size_t> binaryCachesParallelConnections{this, 25, "http-connections", - "Number of parallel HTTP connections.", - {"binary-caches-parallel-connections"}}; - - Setting<bool> enableHttp2{this, true, "http2", - "Whether to enable HTTP/2 support."}; - Setting<unsigned int> tarballTtl{this, 60 * 60, "tarball-ttl", "How soon to expire files fetched by builtins.fetchTarball and builtins.fetchurl."}; @@ -329,12 +322,6 @@ public: Setting<bool> enableImportFromDerivation{this, true, "allow-import-from-derivation", "Whether the evaluator allows importing the result of a derivation."}; - Setting<unsigned long> connectTimeout{this, 0, "connect-timeout", - "Timeout for connecting to servers during downloads. 0 means use curl's builtin default."}; - - Setting<std::string> userAgentSuffix{this, "", "user-agent-suffix", - "String appended to the user agent in HTTP requests."}; - #if __linux__ Setting<bool> filterSyscalls{this, true, "filter-syscalls", "Whether to prevent certain dangerous system calls, such as " |