refactor(concurrency): improve thread management and locking in monitoring services (#137)

* refactor(concurrency): improve thread management and locking in monitoring services

* chore: remove unnecessary comments
This commit is contained in:
brios
2026-04-22 17:26:33 -04:00
committed by Zach Yale
parent aab68d55c8
commit 5bcef92b65
10 changed files with 147 additions and 38 deletions
+7 -1
View File
@@ -58,7 +58,13 @@ ADD \
FROM kepubify-layer-${TARGETARCH} AS kepubify-layer
FROM eclipse-temurin:25-jre-alpine
ENV JAVA_TOOL_OPTIONS="-XX:+UseG1GC -XX:+UseCompactObjectHeaders -XX:+UseStringDeduplication -XX:MaxRAMPercentage=75.0 -XX:+ExitOnOutOfMemoryError"
ENV JAVA_TOOL_OPTIONS="-XX:+UseShenandoahGC \
-XX:ShenandoahGCHeuristics=compact \
-XX:+UseCompactObjectHeaders \
-XX:MaxRAMPercentage=60.0 \
-XX:InitialRAMPercentage=8.0 \
-XX:+ExitOnOutOfMemoryError"
RUN apk add --no-cache su-exec libstdc++ libgcc && \
mkdir -p /bookdrop