We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, i got this issue since the update of the node module yesterday. The setup was a simple job running every 2 minutes. Works great before. Thanks
TypeError: this._scheduler.pttl is not a function at Queue.isKeyExpired (/var/www/api/node_modules/kue-scheduler/index.js:230:23)
The text was updated successfully, but these errors were encountered:
My bad 😨
Sorry, something went wrong.
What did this function do before?
I'm not using it directly. This is my config.
const kue = require('kue-scheduler'); const Queue = kue.createQueue({ prefix: 'kue', redis: { port: '6379', host: 'localhost' } }); Queue.process('job1', function (job, done) { console.log(job); done && done(null, "success"); }); Queue.on('schedule success', function (job) { job.on('complete', function (result) { console.log('Job completed with data ', result); }).on('failed attempt', function (errorMessage, doneAttempts) { console.log('Job failed'); }).on('failed', function (errorMessage) { console.log('Job failed'); }).on('progress', function (progress, data) { console.log('\r job #' + job.id + ' ' + progress + '% complete with data ', data); }); }); Queue.every('2 minutes', job1);
No branches or pull requests
Hi, i got this issue since the update of the node module yesterday.
The setup was a simple job running every 2 minutes. Works great before.
Thanks
TypeError: this._scheduler.pttl is not a function
at Queue.isKeyExpired (/var/www/api/node_modules/kue-scheduler/index.js:230:23)
The text was updated successfully, but these errors were encountered: