Code Monkey home page Code Monkey logo

Comments (6)

webdevian avatar webdevian commented on May 18, 2024 3

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.

nrempel avatar nrempel commented on May 18, 2024 1

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.

dspangenberg avatar dspangenberg commented on May 18, 2024

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.

webdevian avatar webdevian commented on May 18, 2024

@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.

nrempel avatar nrempel commented on May 18, 2024

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.

nrempel avatar nrempel commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.