Comments (3)
The job command should automatically terminate once the handle
function returns.
Can you share the code that is stuck?
from adonis-kue.
I'm closing this for now since I haven't heard back. But please re-open the issue you still have trouble.
from adonis-kue.
Late to the party, but i got the same behaviour:
My command handle looks like this:
const data = {
test: "something"
};
const priority = "medium";
const attempts = 5;
const remove = true;
await kue.dispatch(Job.key, data, priority, attempts, remove).result;
this.info("Job enqueue");
}
It gets all the way to the "Job enqueue" info, but never exits.
When i remove the kue part then the command exits fine.
from adonis-kue.
Related Issues (20)
- [Discussion] adonis-queue vs adonis-kue: Whats the difference? HOT 4
- Adonis 4 Compatibility HOT 4
- Jobs generator HOT 4
- Kue not running HOT 5
- RuntimeException: E_MISSING_CONFIG HOT 3
- How do I try again? HOT 1
- Does adonis-kue support different queue names?
- How to access Job object
- The done callback and the job object should be passed to the job handler
- Is this compatible with adonis 4.1? : E_MISSING_CONFIG: redis://localhost:6379 is not defined inside config/redis.js file HOT 1
- How to mark job as failure on promise call at dispatch handle? HOT 2
- How to listen in linux with PM2? HOT 7
- what is KUE_CONNECTION HOT 1
- MaxListenersExceededWarning: Possible EventEmitter memory leak detected. How to fix ? HOT 2
- Kue is no longer being maintained
- How to fix emitter.setMaxListeners() ? HOT 1
- Make `removeOnComplete` configurable HOT 1
- kue-dashboard HOT 6
- Start listening on main adonis start script HOT 2
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-kue.