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

is there a way to set Chewy.strategy(:lazy_sidekiq) globally? to make all updates asynchronously #873

Open
0xMostafa opened this issue Jan 31, 2023 · 2 comments

Comments

@0xMostafa
Copy link

is there a way to set Chewy.strategy(:lazy_sidekiq) globally for all updates?

so that all updates happens asynchronously

@kcollignon
Copy link

I was hoping for this too

@philipkocanda
Copy link

You could try setting the following, for instance in an initializer:

Chewy.root_strategy = :lazy_sidekiq
Chewy.console_strategy = :lazy_sidekiq
Chewy.request_strategy = :lazy_sidekiq

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

No branches or pull requests

3 participants