about summary refs log tree commit diff
path: root/src/libstore/globals.hh
diff options
context:
space:
mode:
authorAmineChikhaoui <amine.chikhaoui91@gmail.com>2018-04-06T10·05+0100
committerAmineChikhaoui <amine.chikhaoui91@gmail.com>2018-04-06T10·05+0100
commit62d75ad3e18a6ff8973fb95e7fbc58802c477eac (patch)
tree577d2dd0e72b148c24ef2d77d7b9016408cd63cc /src/libstore/globals.hh
parent33b08899d591125ad7900e7005e2b8862f31bba0 (diff)
rename the options to mention it's a narinfo TTL as disk cache is used all over the place for other operations
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r--src/libstore/globals.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index 00147f615f49..7430bbedbe44 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -313,11 +313,11 @@ public:
     Setting<Strings> trustedUsers{this, {"root"}, "trusted-users",
         "Which users or groups are trusted to ask the daemon to do unsafe things."};
 
-    Setting<unsigned int> ttlNegativeDiskCache{this, 3600, "negative-disk-cache-ttl",
+    Setting<unsigned int> ttlNegativeNarInfoCache{this, 3600, "narinfo-cache-negative-ttl",
         "The TTL in seconds for negative lookups in the disk cache i.e binary cache lookups that "
         "return an invalid path result"};
 
-    Setting<unsigned int> ttlPositiveDiskCache{this, 30 * 24 * 3600, "positive-disk-cache-ttl",
+    Setting<unsigned int> ttlPositiveNarInfoCache{this, 30 * 24 * 3600, "narinfo-cache-positive-ttl",
         "The TTL in seconds for positive lookups in the disk cache i.e binary cache lookups that "
         "return a valid path result."};