Extract configuration from manager and wrapper

This commit is contained in:
2026-07-20 19:40:00 +02:00
parent 3827f803c5
commit 7dde7378b8
5 changed files with 16 additions and 8 deletions
+6
View File
@@ -10,6 +10,12 @@ export interface WrapperConfig {
}
export const RABBITMQ_URL = "amqp://manager:gigi1337@192.168.1.74";
export const WRAPPER_HEARTBEAT_INTERVAL = 10000;
export const WRAPPER_STATUS_INTERVAL = 10000;
export const WRAPPER_QUERY_INTERVAL = 5000;
export const SERVER_SCRIPT_PATH = "/home/heroes/HeroesOfValorServer.sh";
export const SERVER_WORKING_DIRECTORY = "/home/heroes";
export function loadConfig(): WrapperConfig {