Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 3097063

Browse files
committed
increase wrk timeout to prevent timeout errors
Signed-off-by: Sahil Yeole <[email protected]>
1 parent feb1cc1 commit 3097063

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wrk/bench.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ graphqlEndpoint="${1:-http://localhost:8000/graphql}"
22
whichBench=$2
33

44
if [ "$whichBench" == "2" ]; then
5-
wrk -d 30 -t 4 -c 100 -s $(pwd)/wrk/wrk2.lua "$graphqlEndpoint"
5+
wrk -d 30 -t 4 -c 100 -s $(pwd)/wrk/wrk2.lua "$graphqlEndpoint" --timeout 10
66
else
7-
wrk -d 10 -t 4 -c 100 -s "$(pwd)/wrk/wrk${whichBench}.lua" "$graphqlEndpoint"
7+
wrk -d 10 -t 4 -c 100 -s "$(pwd)/wrk/wrk${whichBench}.lua" "$graphqlEndpoint" --timeout 10
88
fi

0 commit comments

Comments
 (0)