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

Make ENV variables for the experiment parameters #259

Open
emil916 opened this issue Jun 15, 2021 · 0 comments
Open

Make ENV variables for the experiment parameters #259

emil916 opened this issue Jun 15, 2021 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@emil916
Copy link
Contributor

emil916 commented Jun 15, 2021

Gabe mentioned here:
"I'm guessing these can be overridden by env variables?"

Originally posted by @gparmer in #257 (comment)

Sean's suggestion:
Not the way it's written currently, but something like local -ir worker_max=${WORKER_MAX:-50} would do with trick with a default value if it's not defined. Likely a better approach than noise diffs!

Lines:

local -ir batch_size=1
local -i batch_id=0
local -i roll=0
local -ir total_iterations=10000
local -ir worker_max=50
local pids

@emil916 emil916 self-assigned this Jun 15, 2021
@emil916 emil916 added the good first issue Good for newcomers label Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant