You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been auditing the environment variables in our various apps and it took me a bit of time to figure out what was using SLEEP_DELAY.
Some gems and Heroku add-ons/buildpacks prefix their env-vars making it easier to figure out how they are used (e.g. NEW_RELIC_APP_NAME, BUGSNAG_API_KEY, PGBOUNCER_PREPARED_STATEMENTS). This could also preclude collisions with common var names like QUIET and QUEUE that could be used by other libraries.
How would the maintainers feel about prefixing env-vars with DELAYED_JOB_*?
Perhaps we can support both versions with a deprecation warning in the next minor version, then require the prefix in the next major version. I'd be happy to contribute, but want to make sure this is something you guys would support first.
💜❤️🧡💛💚💙
The text was updated successfully, but these errors were encountered:
tonyta
added a commit
to tonyta/delayed_job
that referenced
this issue
Aug 22, 2018
Namespace all configuration variables used by Delayed::Job under the
`DELAYED_JOB_`-prefix. This will allow developers to easily figure out
what the env var is used for at a glance and prevent collisions with
other libraries using similarly named variable names.
Allow non-namespaced configuration variables as a fallback, but with a
deprecation warning.
See collectiveidea#1028
Namespace all configuration variables used by Delayed::Job under the
`DELAYED_JOB_`-prefix. This will allow developers to easily figure out
what the env var is used for at a glance and prevent collisions with
other libraries using similarly named variable names.
Allow non-namespaced configuration variables as a fallback, but with a
deprecation warning.
See collectiveidea#1028
I've been auditing the environment variables in our various apps and it took me a bit of time to figure out what was using
SLEEP_DELAY
.Some gems and Heroku add-ons/buildpacks prefix their env-vars making it easier to figure out how they are used (e.g.
NEW_RELIC_APP_NAME
,BUGSNAG_API_KEY
,PGBOUNCER_PREPARED_STATEMENTS
). This could also preclude collisions with common var names likeQUIET
andQUEUE
that could be used by other libraries.How would the maintainers feel about prefixing env-vars with
DELAYED_JOB_*
?Perhaps we can support both versions with a deprecation warning in the next minor version, then require the prefix in the next major version. I'd be happy to contribute, but want to make sure this is something you guys would support first.
💜❤️🧡💛💚💙
The text was updated successfully, but these errors were encountered: