Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Jan 27, 2024
1 parent ae44a37 commit 4cce925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/domainService.js
Original file line number Diff line number Diff line change
Expand Up @@ -666,14 +666,14 @@ 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(60 * 60 * 24);
generateAndReplaceMainApplicationHaproxyConfig(false, 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(60 * 60 * 24);
generateAndReplaceMainApplicationHaproxyConfig(false, 60 * 60 * 24);
setTimeout(() => {
generateAndReplaceMainApplicationHaproxyConfig(true, 5);
}, 5 * 60 * 1000);
Expand Down

0 comments on commit 4cce925

Please sign in to comment.