sledge-serverless-framework icon indicating copy to clipboard operation
sledge-serverless-framework copied to clipboard

Make ENV variables for the experiment parameters

Open emil916 opened this issue 3 years ago • 0 comments

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

Originally posted by @gparmer in https://github.com/gwsystems/sledge-serverless-framework/pull/257#discussion_r650871532

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: https://github.com/gwsystems/sledge-serverless-framework/blob/7640cd5fb6e09e1e7c41eacad65322f953523d8d/runtime/experiments/workload_mix_realworld/run.sh#L105-L110

emil916 avatar Jun 15 '21 12:06 emil916