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

DEV: Replace deprecated queue_jobs site setting in tests #119

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

Drenmi
Copy link
Contributor

@Drenmi Drenmi commented Oct 27, 2023

What is this change?

The #queue_jobs= method on site settings has been deprecated and replaced by Jobs.run_later! and Jobs.run_immediately!. This PR replaces usages in this plugin so we can remove the fallback in core.

The fallback used in core for reference:

https://github.com/discourse/discourse/blob/main/app/models/site_setting.rb#L109-L115

@Drenmi Drenmi merged commit 6c07e6d into main Oct 27, 2023
3 checks passed
@Drenmi Drenmi deleted the dev/replace-deprecated-queue-jobs-site-setting branch October 27, 2023 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants