This commit is contained in:
Philipinho
2024-05-03 15:52:25 +01:00
parent 7f933addff
commit c1cd090252
7 changed files with 22 additions and 13 deletions

View File

@ -15,6 +15,9 @@ import { QueueName } from './constants';
host: redisConfig.host,
port: redisConfig.port,
password: redisConfig.password,
retryStrategy: function (times: number) {
return Math.max(Math.min(Math.exp(times), 20000), 1000);
},
},
defaultJobOptions: {
attempts: 3,