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

Fix resolve_connection deprecation #304 #305

Closed
wants to merge 1 commit into from

Conversation

soulseekah
Copy link

@soulseekah soulseekah commented Jan 4, 2024

The Connection context manager in rq is deprecated. When a connection is explicitly passed to the Scheduler avoid using the manager and triggering a warning.

Fixes #304

The Connection context manager in rq is deprecated.
When a connection is explicitly passed to the Scheduler
avoid using the manager and triggering a warning.
@selwin
Copy link
Contributor

selwin commented Oct 6, 2024

Hi there, do you mind rerunning the tests on this PR? RQ v2.0 will be released soon so I'd like to make a new release that makes rq-scheduler compatible with RQ v2.0

@soulseekah
Copy link
Author

soulseekah commented Nov 4, 2024

Hi there, do you mind rerunning the tests on this PR? RQ v2.0 will be released soon so I'd like to make a new release that makes rq-scheduler compatible with RQ v2.0

I believe that dfa1188 fixes the issue and omits usage of resolve_connection in __init__. Thanks a lot!

@soulseekah soulseekah closed this Nov 4, 2024
@soulseekah soulseekah deleted the patch-1 branch November 4, 2024 12:20
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

Successfully merging this pull request may close these issues.

resolve_connection is deprecated
2 participants