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

add a way to pass application config in scripts #73

Closed
benoitc opened this issue Jul 21, 2016 · 2 comments
Closed

add a way to pass application config in scripts #73

benoitc opened this issue Jul 21, 2016 · 2 comments

Comments

@benoitc
Copy link

benoitc commented Jul 21, 2016

It can be useful sometimes to be able to pass application config environment in the script file, to initialize some data for all workers. Right now I'm using sys.config for it, but having it in the script file would allow any user to simply ship their script file.

@parsifal-47
Copy link
Contributor

Just in case, we have a way to set up some variables and change them even in runtime, for example

https://github.com/machinezone/mzbench/blob/master/acceptance_tests/scripts/vars_defaults.erl

how to change in runtime

https://github.com/machinezone/mzbench/blob/master/doc/cli.md#change_env

or from a dashboard

@benoitc
Copy link
Author

benoitc commented Aug 20, 2016

Forgot to answer, sorry. The current way to do it is ok for my current purpose. Thanks for the links!

@benoitc benoitc closed this as completed Aug 20, 2016
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

2 participants