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

Support for Sidekiq Embed #419

Open
marcelolx opened this issue Jan 23, 2023 · 0 comments
Open

Support for Sidekiq Embed #419

marcelolx opened this issue Jan 23, 2023 · 0 comments

Comments

@marcelolx
Copy link
Member

marcelolx commented Jan 23, 2023

Issue to track the support of sidekiq-scheduler when using sidekiq with the embed mode.

Original comment #409 (comment)

I tried 5.0.0.beta2 and I'm getting:

Schedule empty! Set Sidekiq.schedule

I put a breakpoint here and sidekiq_config appears to be the default schedule as if it's never reading config/sidekiq.yml.

I'm using Sidekiq.configure_embed to run sidekiq.

Second comment #409 (comment)

I'm using Sidekiq.configure_embed to run sidekiq.

I added the following to my config block, and it's working:

sidekiq_config = YAML.load_file('config/sidekiq.yml')
config.merge! sidekiq_config 

I guess sidekiq 7 doesn't load config/sidekiq.yml when running embedded.

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

1 participant