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

I want to use this but have no idea how to use with NextJS #9

Open
salvinoto opened this issue Dec 21, 2024 · 1 comment
Open

I want to use this but have no idea how to use with NextJS #9

salvinoto opened this issue Dec 21, 2024 · 1 comment

Comments

@salvinoto
Copy link

Do I have to run this as a separate process, or does it get initiated somewhere? The get started is a bit vague thanks for any help!

@noxify
Copy link
Contributor

noxify commented Dec 21, 2024

Hey @salvinoto ,

We are running it as dedicated service.

The service uses pm2 to start our queues.

For recurring jobs, we start them after initializing the queue.
Otherwise we use the enqueue method to add new jobs to the queue (e.g. via a server action in nextjs)

Does this help?

If you need more information about the implementation, please let me know.

Can provide an example on Monday (got no approval to work on this weekend from my wife 🤭)

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

2 participants