Skip to content

Commit 9eefe67

Browse files
committed
fix(docker): use duration strings for api-gw cache config
Latest api-gw image expects Kotlin duration strings (e.g. "1m") instead of bare numbers for CACHE_EXPIRE_AFTER_WRITE. Without this fix, api-gw crashes on startup with "Invalid duration string format".
1 parent a528c00 commit 9eefe67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,9 +515,9 @@ services:
515515
GATEWAY_DB_POOL_MIN_IDLE: 0
516516
GATEWAY_DB_POOL_MAX_LIFE_TIME: 300000
517517
ORGANIZATION_CACHE_SIZE: 1000
518-
CACHE_EXPIRE_AFTER_WRITE: 60
518+
CACHE_EXPIRE_AFTER_WRITE: 1m
519519
USER_CACHE_SIZE: 1000
520-
USER_CACHE_EXPIRE_AFTER_WRITE: 60
520+
USER_CACHE_EXPIRE_AFTER_WRITE: 1m
521521
ORGANIZATION_CACHE_METRICS: "true"
522522
USER_CACHE_METRICS: "true"
523523
CALL_FORWARDER_CONNECT_TIMEOUT: 1m

0 commit comments

Comments
 (0)