Skip to content

Commit

Permalink
make test
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Jan 27, 2024
1 parent 9c76cd9 commit ae44a37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/domainService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ae44a37

Please sign in to comment.