-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
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
the queue is not running on the redis #12
Comments
Hello @farshadfahimi . What version of |
i'm experiencing the same issue with version 0.1.10, followed the instructions in the at first, the queue is working and handling the job just fine, buat after some time it only outputs
I'm running the queue with adonis events as example. did i miss something important? |
@alfianazizi can you try to zero out the
'use strict'
const Job = use('Job')
class Test extends Job {
constructor(){
super(arguments)
this.timeOut = 0; // seconds: time out for queue
this.retryCount = 0; // number of times to retry
this.retryUntil = 200; // seconds: retry
this.delayUntil = 0; // seconds: delay
}
get queue () {
return 'high'
}
async handle(link, done) {
// ...
console.log(`Job [${this.constructor.name}] - handler called: status=running; id=${this.id} `)
return true;
} |
Same issue. From package.json:
|
I have a simple job like below
and simple in my controller just write the code for test the queue
queue.dispatch(new Test())
when this action is call in the console I got the below log
but the handler method is not running and when I'm checking the redis the keys is empty.
the configoration of the queue is default config without any changes.
How should I run the queue ?
The text was updated successfully, but these errors were encountered: