Comments (6)
Thanks @nrempel! I have added an npm script to launch this for me (with dotenv-cli to get env vars)
{
"kue": "./ace kue:listen",
"kue:inspect": "node_modules/kue/bin/kue-dashboard -p $(dotenv -p KUE_INSPECT_PORT) -r redis://$(dotenv -p REDIS_HOSTNAME):$(dotenv -p REDIS_PORT) -q prefix"
}
from adonis-kue.
Hi, yes it should work the same as with just Kue.
Once, you start adonis-kue with the ace command, you can use the same process to connect to the user interface.
https://github.com/Automattic/kue#user-interface
Let me know if that helps!
from adonis-kue.
Thanks, @nrempel. I tried this a few weeks ago, and kue-dashboard hasn't displayed any data. I will try it next week again.
from adonis-kue.
@dspangenberg It could be because adonis-kue removes jobs after they've completed, so they're just going straight through and you never see them in the interface.
Try queueing up some jobs before turning on the kue listener, then you should be able to see them in the kue queue interface, then when you turn the listener on it should process them and they'll be removed from kue
from adonis-kue.
This is true, I have it set to remove jobs after completion because I ran into issues with running out of memory.
I'm open to suggestions on how to handle this in a way that keeps the UI available.
from adonis-kue.
You should also now be able to set removeOnComplete to false so that they remain in the UI.
Just be aware that you can use up your memory if you are queueing a lot of messages.
https://github.com/nrempel/adonis-kue#dispatching-jobs
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
- Enqueue Job from Adonis Command HOT 3
- 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
- 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.