Skip to content

Commit

Permalink
Remove unnecessary blank line and comment out retryStrategy in config
Browse files Browse the repository at this point in the history
  • Loading branch information
tacxou committed Nov 27, 2024
1 parent 975db77 commit fdc7d40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backend-runner/backend-runner.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class BackendRunnerService implements OnApplicationBootstrap, OnModuleIni
worker.on('error', (err) => this.logger.error(err));
worker.on('closed', () => {
this.logger.fatal(`Worker closed 🟥`);

if (process.env.NODE_ENV === 'production') {
this.logger.fatal(`Closing application...`);
process.exit(1);
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default (): ConfigInstance => {
showFriendlyErrorStack: true,
maxRetriesPerRequest: null,
enableOfflineQueue: false,
retryStrategy: (times) => Math.min(times * 1_000, 10_000),
// retryStrategy: (times) => Math.min(times * 1_000, 10_000),
},
},
};
Expand Down

0 comments on commit fdc7d40

Please sign in to comment.