Skip to content

Commit

Permalink
loadgenerator: switch to python 3.6
Browse files Browse the repository at this point in the history
python3.7 is causing lockup in locust.
See locustio/locust#843

Signed-off-by: Ahmet Alp Balkan <[email protected]>
  • Loading branch information
ahmetb authored and oplik0 committed Jun 6, 2024
1 parent 58a6e13 commit 8c677b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/loadgenerator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3
FROM python:3.6

COPY requirements.txt .
RUN pip install -r requirements.txt
Expand Down
3 changes: 1 addition & 2 deletions src/loadgenerator/loadgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ if [[ -z "${FRONTEND_ADDR}" ]]; then
fi

set -x
# add "timeout 3600" because locust locks up/freezes for some reason
timeout 3600 locust --host="http://${FRONTEND_ADDR}" --no-web -c "${USERS:-10}" -r 10
locust --host="http://${FRONTEND_ADDR}" --no-web -c "${USERS:-10}"

0 comments on commit 8c677b0

Please sign in to comment.