Disk usage of nats streams on disk (or in memory) might grow large. We can forget old kv entries and messages in nats by configuring the streams manually.
- persistent stores
nats stream edit main-queue --max-age=7d
nats stream edit KV_postprocessing --max-age=7d
nats stream edit KV_userlog --max-age=14d
nats stream edit KV_activitylog --max-age=14d
nats stream edit KV_eventhistory --max-age=14d
- cache stores
nats stream edit KV_cache-userinfo --max-age=10s
nats stream edit KV_service-registry --max-age=30s
nats stream edit KV_ids-storage-users --max-age=24h
nats stream edit KV_storage-users --max-age=24h
nats stream edit KV_storage-system --max-age=24h
nats stream edit KV_cache-roles --max-age=24h
nats stream edit KV_proxy --max-age=24h
nats stream edit KV_opencloud-pkg --max-age=24h
nats stream edit KV_settings-cache --max-age=10m
Maybe someone can do this with compose once the opencloud container is running. It contains nats. Or we configure the streams properly when using the nats-go package directly, after opencloud-eu/opencloud#2512
Disk usage of nats streams on disk (or in memory) might grow large. We can forget old kv entries and messages in nats by configuring the streams manually.
Maybe someone can do this with compose once the opencloud container is running. It contains nats. Or we configure the streams properly when using the nats-go package directly, after opencloud-eu/opencloud#2512