From ae44a371c547849807dcde106075820a2e5b66b0 Mon Sep 17 00:00:00 2001 From: TheTrunk Date: Sat, 27 Jan 2024 19:06:54 +0700 Subject: [PATCH] make test --- src/services/domainService.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/domainService.js b/src/services/domainService.js index ee6f535..6d2c281 100644 --- a/src/services/domainService.js +++ b/src/services/domainService.js @@ -666,16 +666,16 @@ function initializeServices() { log.info('Flux Main Node Domain Service initiated.'); } else if (config.mainDomain === config.cloudflare.domain && config.cloudflare.manageapp) { // only runs on main FDM handles X.APP.runonflux.io - generateAndReplaceMainApplicationHaproxyConfig(); + generateAndReplaceMainApplicationHaproxyConfig(60 * 60 * 24); setTimeout(() => { generateAndReplaceMainApplicationHaproxyConfig(true, 5); }, 5 * 60 * 1000); log.info('Flux Main Application Domain Service initiated.'); } else if (config.mainDomain === config.pDNS.domain && config.pDNS.manageapp) { // only runs on main FDM handles X.APP.runonflux.io - generateAndReplaceMainApplicationHaproxyConfig(); + generateAndReplaceMainApplicationHaproxyConfig(60 * 60 * 24); setTimeout(() => { - generateAndReplaceMainApplicationHaproxyConfig(true); + generateAndReplaceMainApplicationHaproxyConfig(true, 5); }, 5 * 60 * 1000); log.info('Flux Main Application Domain Service initiated.'); } else {