Skip to content
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

kue-dashboard #7

Closed
dspangenberg opened this issue Apr 8, 2017 · 6 comments
Closed

kue-dashboard #7

dspangenberg opened this issue Apr 8, 2017 · 6 comments

Comments

@dspangenberg
Copy link

Is there a possibility to view and manage the jobs with kue-dashboard?

@nrempel
Copy link
Owner

nrempel commented Apr 27, 2017

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!

@webdevian
Copy link

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"
}

@dspangenberg
Copy link
Author

Thanks, @nrempel. I tried this a few weeks ago, and kue-dashboard hasn't displayed any data. I will try it next week again.

@webdevian
Copy link

@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

@nrempel
Copy link
Owner

nrempel commented Nov 24, 2017

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.

@nrempel
Copy link
Owner

nrempel commented Nov 24, 2017

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

@nrempel nrempel closed this as completed Nov 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants