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

Default value for an not defined ENV #1220

Open
pepebotika69 opened this issue Jan 16, 2025 · 0 comments
Open

Default value for an not defined ENV #1220

pepebotika69 opened this issue Jan 16, 2025 · 0 comments

Comments

@pepebotika69
Copy link

Is there a way to define a default value if ENV variable is not defined? For example:

numprocesses = $(circus.env.WORKERS_NUMBER)

So if WORKERS_NUMBER is not defined I will get an error. I would like to do this:
"If WORKERS_NUMBER is not defined the numprocesses should be equal to 3"

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