We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0871b4 commit 02b476bCopy full SHA for 02b476b
src/api.js
@@ -357,7 +357,7 @@ export class Worker {
357
try {
358
const tasks = await client.consumeWorkerQueue(opts)
359
if (tasks.length === 0 || (client.redisMinMessageLifetime > time.getUnixTime() + timeDiff - number.parseInt(tasks[0].id.split('-')[0]))) {
360
- await promise.wait(client.redisWorkerTimeout);
+ await promise.wait(client.redisWorkerTimeout)
361
}
362
} catch (e) {
363
console.error(e)
0 commit comments