In order to mitigate against the brute force attacks against Gitlab accounts, we are moving to all edu-ID Logins. We would like to remind you to link your account with your edu-id. Login will be possible only by edu-ID after November 30, 2021. Here you can find the instructions for linking your account.

If you don't have a SWITCH edu-ID, you can create one with this guide here

kind regards

Unverified Commit c1c7081e authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

use heapcache

parent b0be4920
Pipeline #24154 passed with stage
in 5 minutes and 19 seconds
......@@ -16,7 +16,7 @@ ADD ./cantaloupe.properties /cantaloupe/cantaloupe.properties
FROM openjdk:11-jre-slim
ENTRYPOINT ["/home/cantaloupe/run.sh", "4.1.7"]
CMD ["-Dcantaloupe.config=/home/cantaloupe/app/cantaloupe.properties", "-Xmx2g"]
CMD ["-Dcantaloupe.config=/home/cantaloupe/app/cantaloupe.properties", "-Xmx4g", "-Xms 800m"]
ARG HTTP_PORT=8182
ARG BUILD_WITH=""
HEALTHCHECK --start-period=30s CMD curl -sf 0.0.0.0:${HTTP_PORT} -o /dev/null || exit 1
......
......@@ -470,7 +470,7 @@ cache.server.derivative.enabled = true
# Available values are `FilesystemCache`, `JdbcCache`, `RedisCache`,
# `HeapCache`, `S3Cache`, and `AzureStorageCache`.
cache.server.derivative = RedisCache
cache.server.derivative = HeapCache
# Amount of time derivative cache content remains valid. Set to blank or 0
# for forever.
......@@ -478,7 +478,7 @@ cache.server.derivative.ttl_seconds = 2592000
# 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).
cache.server.info.enabled = true
cache.server.info.enabled = false
# If true, when a source reports that the requested source image has gone
# missing, all cached information relating to it (if any) will be deleted.
......@@ -523,7 +523,7 @@ FilesystemCache.dir.name_length = 2
# Target cache size, in bytes or a number ending in M, MB, G, GB, etc.
# This is not a hard limit, and may be transiently exceeded.
# Ensure your heap can accommodate this size.
HeapCache.target_size = 2G
HeapCache.target_size = 3G
# If true, the cache contents will be written to a file on exit and during
# cache worker shifts, and read back in at startup.
......
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