Fix jsonnet config for bloom gateway blocks cache (#11741)

**What this PR does / why we need it**:

The value is supposed to be a time.Duration value, rather than an int
value for seconds.

This changes fixes the rather small cache TTL.

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
pull/11726/head^2
Christian Haudum 1 year ago committed by GitHub
parent de3f1786a1
commit 6d1b6ff20c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      production/ksonnet/loki/bloom-gateway.libsonnet

@ -47,7 +47,7 @@
blocks_cache: {
enabled: true,
max_size_mb: error 'set bloom_shipper.blocks_cache.max_size_mb to ~80% of available disk size',
ttl: 3600 * 24, // 24h
ttl: '24h',
},
},
},

Loading…
Cancel
Save