Browse Source

Merge pull request #2453 from nocodb/fix/bullmq-redis

fix: set maxRetriesPerRequest to null in redis
pull/2461/head
navi 2 years ago committed by GitHub
parent
commit
86f65adf68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/nocodb/src/lib/jobs/RedisJobsMgr.ts

4
packages/nocodb/src/lib/jobs/RedisJobsMgr.ts

@ -11,7 +11,9 @@ export default class RedisJobsMgr extends JobsMgr {
super();
this.queue = {};
this.workers = {};
this.connection = new Redis(config);
this.connection = new Redis(config, {
maxRetriesPerRequest: null
});
}
async add(

Loading…
Cancel
Save