Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RunOnFluxBot committed Jan 9, 2025
1 parent 26faf37 commit 761919a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/fluxService.js
Original file line number Diff line number Diff line change
Expand Up @@ -1656,8 +1656,6 @@ async function streamChainPreparation(req, res) {
res.json(response);
} finally {
setTimeout(() => {
prepLock = false;

if (daemonStartRequired) {
// start services
if (isArcane) {
Expand All @@ -1667,6 +1665,7 @@ async function streamChainPreparation(req, res) {
serviceHelper.runCommand('pm2', { runAsRoot: false, params: ['start', 'watchdog', '--watch'] });
}
}
prepLock = false;
}, 30 * 1000);
}
}
Expand Down

0 comments on commit 761919a

Please sign in to comment.