Merge "Set h2.maxCompactTime to 15 seconds"

This commit is contained in:
Zuul 2025-01-22 20:39:23 +00:00 committed by Gerrit Code Review
commit 5a10fb23fa
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ services:
environment:
JAVA_OPTIONS: >-
-Dlog4j2.formatMsgNoLookups=true
-Dh2.maxCompactTime=15000
{% if gerrit_heap_limit is defined %}
-Xmx{{ gerrit_heap_limit }}
{% endif %}

View File

@ -42,6 +42,7 @@
javaHome = /usr/lib/jvm/java-17-openjdk-amd64
javaOptions = "-Dflogger.backend_factory=com.google.common.flogger.backend.log4j.Log4jBackendFactory#getInstance"
javaOptions = "-Dflogger.logging_context=com.google.gerrit.server.logging.LoggingContext#getInstance"
javaOptions = -Dh2.maxCompactTime=15000
[log]
rotate = true
compress = true