Verified Commit 401c0768 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

activate cache cleaner on daily basis

parent 8717484c
Pipeline #37793 passed with stages
in 6 minutes and 7 seconds
......@@ -463,18 +463,18 @@ 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
# Available values are `FilesystemCache`, `JdbcCache`, `RedisCache`,
# `HeapCache`, `S3Cache`, and `AzureStorageCache`.
cache.server.derivative = HeapCache
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).
......@@ -493,7 +493,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.
......
......@@ -13,7 +13,7 @@ mediaFolderRootPath: "/home/cantaloupe/images"
cacheServerDerivativeEnabled: "true"
cacheServerDerivative: FilesystemCache
cacheServerDerivativeTtlSeconds: "172800"
cacheServerDerivativeTtlSeconds: "604800"
cacheServerInfoEnabled: "false"
cacheServerPurgeMissing: "false"
cacheServerResolveFirst: "false"
......@@ -13,7 +13,7 @@ mediaFolderRootPath: "/home/cantaloupe/images"
cacheServerDerivativeEnabled: "true"
cacheServerDerivative: FilesystemCache
cacheServerDerivativeTtlSeconds: "172800"
cacheServerDerivativeTtlSeconds: "604800"
cacheServerInfoEnabled: "false"
cacheServerPurgeMissing: "false"
cacheServerResolveFirst: "false"
......@@ -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