Closed orokusaki closed 1 year ago
@orokusaki thanks for catching this.
use_connection
to the Connection
context manager?Actually there's already a draft PR for this. https://github.com/rq/django-rq/pull/583/files
@selwin - that's excellent news - I just got back in front of my screen. Let me know if you need any more help with anything else, or changes to the approach in that PR, and I'll make a PR.
I think that PR is good to do. I'll merge and make an emergency release.
Hey, what's missing here? Is there already a workaround?
This was already fixed in version 2.8.0 released a few days ago. https://pypi.org/project/django-rq/2.8.0/
Hey @selwin, et al,
rq==1.14.0
breaksdjango-rq==2.7.0
, due to the importation / use of the previously-deprecated, now-removeduse_connection
.I stumbled this old note in the 1.13 ~ 1.14 diff about using the
Connection
context manager, in lieu of theuse_connection
function, and then landed on the current docs about connections, and I thought it'd be best to make an issue here for discussion, before attempting to make a patch for this.rq==1.14.0
?