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

Add compatibility with strict_loading_by_default #375

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JoeDupuis
Copy link

@JoeDupuis JoeDupuis commented Oct 7, 2024

Fixes #122

Allows the app to run in strict_loading_by_default mode by explicitly turning off strict loading on all Solid Queue models.

Also enables strict_loading_by_default on the dummy app to prevent strict loading issues from being introduced.

Alternative / strict_loading enabled

I tried to support strict_loading instead of turning it off, but after spending time on it, I don't think it's worth it. It is a little bit faster, but bring a bunch of complexity.
I opened a draft PR on my fork to demonstrate what it would look like: JoeDupuis#1
Even if we decide to go down the road of enabling strict_loading in Solid Queue, we should merge this PR first to unblock strict_loading apps while working on the fix.

Fixes rails#122

Allow an app to run in strict_loading_by_default mode by explicitly
turning off strict loading on all solid queue models.
@JoeDupuis JoeDupuis changed the title Add strict_loading_by_default by default compatibility Add compatibility with strict_loading_by_default by default Oct 8, 2024
@JoeDupuis JoeDupuis changed the title Add compatibility with strict_loading_by_default by default Add compatibility with strict_loading_by_default Oct 16, 2024
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.

Not compatible with strict loading by default
1 participant