use Redis for custom plugin #13291
Unanswered
Linkk93
asked this question in
Help Wanted!
Replies: 1 comment 4 replies
-
rqworker needs to be running to use rq.
Yep, it's supported. Your code is funky though, so not sure it will work. Something like this all that is needed:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am developing a custom plugin and want to use Redis job queuing for long background tasks.
I saw that by default the queues high default low are started by the netbox-rq service.
I tried to enqueue to the default queue but the job is never started.
After investigating a bit, I noticed that the netbox-rq service is stopped
(code=exited, status=1/FAILURE)
That is not correct, is it?
Is it generally good practice to use the netbox-rq for custom plugins?
The code I currently test with is the following, maybe I am missing something:
I am still very new to Redis, so every help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions