Skip to content

Commit

Permalink
fix(core): fixed shutdownNoticeDelay being null
Browse files Browse the repository at this point in the history
  • Loading branch information
tabarra committed Jul 11, 2023
1 parent 2ec44a5 commit f75bd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/components/ConfigVault.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export default class ConfigVault {
cfg.fxRunner.logPath = cfg.fxRunner.logPath || `${this.serverProfilePath}/logs/fxserver.log`; //not in template
cfg.fxRunner.autostart = (cfg.fxRunner.autostart === 'true' || cfg.fxRunner.autostart === true);
cfg.fxRunner.restartDelay = parseInt(cfg.fxRunner.restartDelay) || 1250; //not in template
cfg.fxRunner.shutdownNoticeDelay = parseInt(cfg.fxRunner.shutdownNoticeDelay) ?? 5; //not in template
cfg.fxRunner.shutdownNoticeDelay = parseInt(cfg.fxRunner.shutdownNoticeDelay) || 5; //not in template
cfg.fxRunner.quiet = (cfg.fxRunner.quiet === 'true' || cfg.fxRunner.quiet === true);
} catch (error) {
console.verbose.dir(error);
Expand Down

0 comments on commit f75bd96

Please sign in to comment.