machine-learning-apps / prism

High performance http microbatcher
Apache License 2.0
0 stars 0 forks source link

CLI options #2

Open inc0 opened 4 years ago

inc0 commented 4 years ago

Right now options like timeout, batch size or backend url are hardcoded. We should allow them to be CLI and ENV configurable.

./prism --timeout 100 --batch 20 --url http://example.com

or

export PRISM_TIMEOUT=100
export PRISM_BATCH=20
export PRISM_URL=http://example.com
./prism
issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.93. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.