refactor: add persistence groundwork and structured logging

This commit is contained in:
2026-07-20 21:48:08 +02:00
parent 7dde7378b8
commit 5fd48d1971
19 changed files with 567 additions and 200 deletions
+13
View File
@@ -0,0 +1,13 @@
export const RABBITMQ_URL = "amqp://manager:gigi1337@192.168.1.74";
export const LIFECYCLE_CHECK_INTERVAL = 10000;
export const LIFECYCLE_EMPTY_TIMEOUT = 300000;
export const LIFECYCLE_STARTUP_GRACE_PERIOD = 60000;
export const LIFECYCLE_MIN_UPTIME = 300000;
export const LIFECYCLE_SCALE_DOWN_THRESHOLD = 0.30;
export const LIFECYCLE_SCALE_COOLDOWN = 60000;
export const LIFECYCLE_CRASH_TIMEOUT = 30000;
export const DEFAULT_DESIRED_SERVERS = 1;
export const GAME_PORT_START = 7777;
export const QUERY_PORT_START = 27015;