Comments (4)
Hello @farshadfahimi . What version of adonis-queue
are you using and did you follow all the instructions in the instructions.md
file ?
from adonis-queue.
i'm experiencing the same issue with version 0.1.10, followed the instructions in the instructions.md
.
at first, the queue is working and handling the job just fine, buat after some time it only outputs
@@adonisjs/Queue: [Redis] Queue [high] now ready
I'm running the queue with adonis events as example. did i miss something important?
from adonis-queue.
@alfianazizi can you try to zero out the timeOut
. Also, return true
from the handle() method
Like so:
'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;
}
from adonis-queue.
Same issue.
From package.json:
"dependencies": {
"@adonisjs/ace": "^5.0.8",
"@adonisjs/auth": "^3.0.7",
"@adonisjs/bodyparser": "^2.0.5",
"@adonisjs/cors": "^1.0.7",
"@adonisjs/fold": "^4.0.9",
"@adonisjs/framework": "^5.0.9",
"@adonisjs/ignitor": "^2.0.8",
"@adonisjs/lucid": "^6.1.3",
"@adonisjs/mail": "^3.0.10",
"@adonisjs/session": "^1.0.27",
"@adonisjs/shield": "^1.0.8",
"@adonisjs/validator": "^5.0.6",
"adonisjs-queue": "^0.1.10"
}
from adonis-queue.
Related Issues (12)
- Redis in queue HOT 2
- How do I send multiple Jobs in one Queue or run multiple Queues HOT 2
- E_INVALID_QUEUE_DRIVER: rabbitmq is not a valid queue driver
- [ error ] "make:job" command not found
- Make:Job command failure HOT 1
- [v0.1.6] HttpException causes the destroyAll method of queue to throw error HOT 2
- Error: Cannot call Queue#process twice HOT 5
- Providers missing AdonisJS 4.1 HOT 4
- Doesn't Auto create queue.js file in config directory HOT 5
- Update Yarn and Npm HOT 3
- Email sent but callback is failed HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adonis-queue.