12216: Separate config for uuid->pdh cache TTL, default 5 seconds.
[arvados.git] / services / keep-web / main.go
index 585dab13e3cbf0ce68ef620c6dad31e4a17c974b..27ceb48c78bfebbc40aa9d3732cbcbba6ad63155 100644 (file)
@@ -45,6 +45,7 @@ func DefaultConfig() *Config {
                Listen: ":80",
                Cache: cache{
                        TTL:                  arvados.Duration(5 * time.Minute),
+                       UUIDTTL:              arvados.Duration(5 * time.Second),
                        MaxCollectionEntries: 1000,
                        MaxCollectionBytes:   100000000,
                        MaxPermissionEntries: 1000,