Verified Commit 9566b20e authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

activate cache cleaner on daily basis

parent 43589d06
Pipeline #49256 passed with stages
in 9 minutes and 3 seconds
......@@ -487,7 +487,7 @@ cache.server.source = FilesystemCache
# Amount of time source cache content remains valid. Set to blank or 0
# for forever.
cache.server.source.ttl_seconds = 2592000
cache.server.source.ttl_seconds = 604800
# Enables the derivative (processed image) cache.
cache.server.derivative.enabled = true
......@@ -498,7 +498,7 @@ cache.server.derivative = FilesystemCache
# Amount of time derivative cache content remains valid. Set to blank or 0
# for forever.
cache.server.derivative.ttl_seconds = 2592000
cache.server.derivative.ttl_seconds = 604800
# Whether to use the Java heap as a "level 1" cache for image infos, either
# independently or in front of a "level 2" derivative cache (if enabled).
......@@ -517,7 +517,7 @@ cache.server.resolve_first = false
# !! Enables the cache worker, which periodically purges invalid cache
# items in the background.
cache.server.worker.enabled = false
cache.server.worker.enabled = true
# !! The cache worker will wait this many seconds before starting its
# next shift.
......
tag: "5.x-turbojpeg"
tag: "5.x-no-deps"
k8sEnvironment: prod
k8sReplicas: 2
......@@ -13,7 +13,7 @@ mediaFolderRootPath: "/home/cantaloupe/images"
cacheServerDerivativeEnabled: "true"
cacheServerDerivative: "FilesystemCache"
cacheServerDerivativeTtlSeconds: "172800"
cacheServerDerivativeTtlSeconds: "604800"
cacheServerInfoEnabled: "false"
cacheServerPurgeMissing: "false"
cacheServerResolveFirst: "false"
......
tag: "5.x-turbojpeg"
tag: "5.x-no-deps"
k8sEnvironment: stage
k8sReplicas: 1
......@@ -13,7 +13,7 @@ mediaFolderRootPath: "/home/cantaloupe/images"
cacheServerDerivativeEnabled: "true"
cacheServerDerivative: "FilesystemCache"
cacheServerDerivativeTtlSeconds: "172800"
cacheServerDerivativeTtlSeconds: "604800"
cacheServerInfoEnabled: "false"
cacheServerPurgeMissing: "false"
cacheServerResolveFirst: "false"
......
tag: "5.x-turbojpeg"
tag: "5.x-no-deps"
k8sEnvironment: test
k8sReplicas: 1
......@@ -13,7 +13,7 @@ mediaFolderRootPath: "/home/cantaloupe/images"
cacheServerDerivativeEnabled: "true"
cacheServerDerivative: "FilesystemCache"
cacheServerDerivativeTtlSeconds: "172800"
cacheServerDerivativeTtlSeconds: "604800"
cacheServerInfoEnabled: "false"
cacheServerPurgeMissing: "false"
cacheServerResolveFirst: "false"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment