RQ backend interfaces #184
Replies: 3 comments
-
@selwin interested to hear your thoughts! |
Beta Was this translation helpful? Give feedback.
-
This is something I can help with. Always planned to add
You can do this: job = Job.fetch('job_id', connection=redis)
So the question is to differentiate types of failure between job and RQ related failure. Will think about this. Specific to the case when a job returns something unpickleable, this should still be marked as a successful execution, but |
Beta Was this translation helpful? Give feedback.
-
Just a quick update
Done in rq/rq#2285 . Accessible via
This is already handled in https://github.com/rq/rq/blob/93d70f75998bee4d6f7a37d572b7883786b3e90c/rq/results.py#L222 . |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The RQ backend implementation is important, as it's the first backend which interfaces with a 3rd-party existing queue system.
The implementation works, but currently has a few places it could be better:
Similarly, if experts in the internals of RQ /
django-rq
could review the RQ backend, I'd be very interested in ways we could either improve how we interface with RQ, or perhaps even update our API to better fit RQ or larger-scale workers.Beta Was this translation helpful? Give feedback.
All reactions