Skip to content

Make Sidekiq concurrency configurable via env var#164

Merged
JuanVqz merged 1 commit intorailsbump:mainfrom
JuanVqz:maintenance/use-env-vars-at-procfiles
Apr 9, 2026
Merged

Make Sidekiq concurrency configurable via env var#164
JuanVqz merged 1 commit intorailsbump:mainfrom
JuanVqz:maintenance/use-env-vars-at-procfiles

Conversation

@JuanVqz
Copy link
Copy Markdown
Member

@JuanVqz JuanVqz commented Apr 9, 2026

Summary

The DirectResolver PR (#157) hardcoded Sidekiq concurrency to 15 in both Procfiles. This replaces it with a SIDEKIQ_CONCURRENCY env var that defaults to 2 (the original value), letting each environment set its own concurrency without changing the Procfile.

The DirectResolver PR (railsbump#157) hardcoded Sidekiq concurrency to 15.
Replace it with a SIDEKIQ_CONCURRENCY env var that defaults to 2,
matching the original value. This lets each environment set its own
concurrency without changing the Procfile (e.g. production may need
higher concurrency for DirectResolver background jobs).
@JuanVqz JuanVqz requested a review from a team April 9, 2026 16:09
@JuanVqz JuanVqz self-assigned this Apr 9, 2026
@JuanVqz JuanVqz marked this pull request as ready for review April 9, 2026 16:09
Copy link
Copy Markdown
Contributor

@jeremysmithco jeremysmithco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks good. That's what I was thinking of doing. 👍

@JuanVqz JuanVqz merged commit ce829c0 into railsbump:main Apr 9, 2026
2 checks passed
@JuanVqz
Copy link
Copy Markdown
Member Author

JuanVqz commented Apr 9, 2026

That looks good. That's what I was thinking of doing. 👍

Thanks for confirming this is the right move

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.

2 participants