Skip to content

How to retrieve Sidekiq environment with Sidekiq 7+? #5993

Answered by mperham
thbar asked this question in Q&A
Discussion options

You must be logged in to vote

You need to tell the Sidekiq process the current environment, but I don't think you should rely on Sidekiq to be the source of truth for the environment. I think relying on APP_ENV is probably the right idea.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@thbar
Comment options

Answer selected by thbar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants