diff --git a/locust/distributed.sh b/locust/distributed.sh index 2d07f60..9e17d07 100755 --- a/locust/distributed.sh +++ b/locust/distributed.sh @@ -6,7 +6,7 @@ export CONTENT_TYPE=application/json export PAYLOAD='{"inputs": "I am super happy right now."}' export USERS=240 export WORKERS=60 -export RUN_TIME=1mg +export RUN_TIME=1m export LOCUST_UI=false # Use Locust UI @@ -17,7 +17,7 @@ export SCRIPT=locust_script.py #. ./venv/bin/activate if $LOCUST_UI ; then - locust -f $SCRIPT -H $ENDPOINT_NAME --master --expect-workers $WORKERS -u $USERS -t $RUN_TIME --csv results & + locust -f $SCRIPT -H $ENDPOINT_NAME --master --expect-workers $WORKERS -u $USERS --csv results & else locust -f $SCRIPT -H $ENDPOINT_NAME --master --expect-workers $WORKERS -u $USERS -t $RUN_TIME --csv results --headless & fi