You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewTypeError('Limiter requires `max` and `duration` options');
}
}
if(opts.defaultJobOptions){
this.defaultJobOptions=opts.defaultJobOptions;
}
this.name=name;
this.token=uuid.v4();
opts.redis={
enableReadyCheck: false,
...opts.redis
};
_.defaults(opts.redis,{
port: 6379,
host: '127.0.0.1',
If not passed as string, the if in line 90 will be omitted and then it be ignored via line 129 because this takes precedents over string
Minimal, Working Test code to reproduce the issue.
importQueuefrom'bull';newQueue<any>('name',{redis: 'redis://my.host/6379'});// results in 127.0.0.1 ❌newQueue<any>('name','redis://my.host/6379');// results in my.host ✅
Bull version
4.11.3
Additional information
This took me around 4h to find out...
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Please only mark issues and PRs as stale if there are reasons why e.g. they couldn't get reviewed or merged.
This behavior of marking issues as stale is not helping anyone.
Description
When passing redis connection as options object but it is a url, the url will not destructed
bull/lib/queue.js
Lines 85 to 129 in 4d197e8
If not passed as string, the
if
in line 90 will be omitted and then it be ignored via line 129 because this takes precedents over stringMinimal, Working Test code to reproduce the issue.
Bull version
4.11.3
Additional information
This took me around 4h to find out...
The text was updated successfully, but these errors were encountered: