A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
perf(stack): give livekit a go memory limit
Hampus831a1f0594f1
diff --git a/fluxer_rexctl/internal/stack/files/docker-compose.yml b/fluxer_rexctl/internal/stack/files/docker-compose.ymlindex 4a1036581..09d15c458 100644--- a/fluxer_rexctl/internal/stack/files/docker-compose.yml+++ b/fluxer_rexctl/internal/stack/files/docker-compose.yml@@ -481,6 +481,7 @@ services:limits:memory: ${FLUXER_LIVEKIT_MEMORY_LIMIT:-512mb}environment:+ GOMEMLIMIT: ${FLUXER_LIVEKIT_GOMEMLIMIT:-435MiB}LIVEKIT_KEYS: "${LIVEKIT_API_KEY:?rexctl manages this instance. Use rexctl, docker compose -p fluxer ps or logs, or run rexctl eject to use docker compose here}: ${LIVEKIT_API_SECRET:?rexctl manages this instance. Use rexctl, docker compose -p fluxer ps or logs, or run rexctl eject to use docker compose here}"LIVEKIT_CONFIG: |port: 7880diff --git a/fluxer_rexctl/internal/stack/files/profiles.json b/fluxer_rexctl/internal/stack/files/profiles.jsonindex 01d865854..da1a7be0d 100644--- a/fluxer_rexctl/internal/stack/files/profiles.json+++ b/fluxer_rexctl/internal/stack/files/profiles.json@@ -5,6 +5,7 @@"FLUXER_GATEWAY_MEMORY_LIMIT": "384mb","FLUXER_GATEWAY_MEMORY_RESERVATION": "192mb","FLUXER_GIFS_SHARD_CACHE_MAX_BYTES": "67108864",+ "FLUXER_LIVEKIT_GOMEMLIMIT": "272MiB","FLUXER_LIVEKIT_MEMORY_LIMIT": "320mb","FLUXER_MEDIA_PROXY_MEMORY_LIMIT": "320mb","FLUXER_MEILISEARCH_MAX_INDEXING_MEMORY": "128mb",