Extract configuration from manager and wrapper
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user