Skip to content

Commit

Permalink
fix timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Jan 27, 2024
1 parent 4cce925 commit 967e0de
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 @@ -600,12 +600,12 @@ async function generateAndReplaceMainApplicationHaproxyConfig(isGmode = false, t
throw new Error('Invalid HAPROXY Config File!');
}
setTimeout(() => {
generateAndReplaceMainApplicationHaproxyConfig(isGmode);
generateAndReplaceMainApplicationHaproxyConfig(isGmode, timeout);
}, timeout * 1000);
} catch (error) {
log.error(error);
setTimeout(() => {
generateAndReplaceMainApplicationHaproxyConfig(isGmode);
generateAndReplaceMainApplicationHaproxyConfig(isGmode, timeout);
}, timeout * 1000);
}
}
Expand Down

0 comments on commit 967e0de

Please sign in to comment.