Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Cantaloupe on Docker
Commits
401c0768
Verified
Commit
401c0768
authored
Nov 23, 2021
by
Sebastian Schüpbach
Browse files
activate cache cleaner on daily basis
parent
8717484c
Pipeline
#37793
passed with stages
in 6 minutes and 7 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cantaloupe.properties
View file @
401c0768
...
...
@@ -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
=
25920
00
cache.server.source.ttl_seconds
=
6048
00
# Enables the derivative (processed image) cache.
cache.server.derivative.enabled
=
true
# Available values are `FilesystemCache`, `JdbcCache`, `RedisCache`,
# `HeapCache`, `S3Cache`, and `AzureStorageCache`.
cache.server.derivative
=
Heap
Cache
cache.server.derivative
=
Filesystem
Cache
# Amount of time derivative cache content remains valid. Set to blank or 0
# for forever.
cache.server.derivative.ttl_seconds
=
25920
00
cache.server.derivative.ttl_seconds
=
6048
00
# 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
=
fals
e
cache.server.worker.enabled
=
tru
e
# !! The cache worker will wait this many seconds before starting its
# next shift.
...
...
helm-charts/helm-values/api-image-server-prod.yaml
View file @
401c0768
...
...
@@ -13,7 +13,7 @@ mediaFolderRootPath: "/home/cantaloupe/images"
cacheServerDerivativeEnabled
:
"
true"
cacheServerDerivative
:
FilesystemCache
cacheServerDerivativeTtlSeconds
:
"
172
800"
cacheServerDerivativeTtlSeconds
:
"
604
800"
cacheServerInfoEnabled
:
"
false"
cacheServerPurgeMissing
:
"
false"
cacheServerResolveFirst
:
"
false"
helm-charts/helm-values/api-image-server-stage.yaml
View file @
401c0768
...
...
@@ -13,7 +13,7 @@ mediaFolderRootPath: "/home/cantaloupe/images"
cacheServerDerivativeEnabled
:
"
true"
cacheServerDerivative
:
FilesystemCache
cacheServerDerivativeTtlSeconds
:
"
172
800"
cacheServerDerivativeTtlSeconds
:
"
604
800"
cacheServerInfoEnabled
:
"
false"
cacheServerPurgeMissing
:
"
false"
cacheServerResolveFirst
:
"
false"
helm-charts/helm-values/api-image-server-test.yaml
View file @
401c0768
...
...
@@ -13,7 +13,7 @@ mediaFolderRootPath: "/home/cantaloupe/images"
cacheServerDerivativeEnabled
:
"
true"
cacheServerDerivative
:
FilesystemCache
cacheServerDerivativeTtlSeconds
:
"
172
800"
cacheServerDerivativeTtlSeconds
:
"
604
800"
cacheServerInfoEnabled
:
"
false"
cacheServerPurgeMissing
:
"
false"
cacheServerResolveFirst
:
"
false"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment