Skip to content

Commit

Permalink
update idle timeouts and client connection check
Browse files Browse the repository at this point in the history
  • Loading branch information
parvit committed Aug 24, 2024
1 parent 792164a commit a9fb550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
server_wait_timeout:
description: 'Server global timeout for tests'
type: number
default: 100
default: 200
required: false
connection_delay_ms:
description: 'connection delay in milliseconds set on the server'
Expand Down Expand Up @@ -297,7 +297,7 @@ jobs:
RETRIES=${{ inputs.server_wait_timeout }}
while ! (( RETRIES <= 0 ));
do
CONN_NUM=$(curl -s -XGET -H 'Accept:application/json' http://127.0.0.1:444/api/v1/server/echo | jq .total_connections || true)
CONN_NUM=$(curl -s -XGET -H 'Accept:application/json' -H 'Connection: close' http://127.0.0.1:444/api/v1/server/echo | jq .total_connections || true)
if [[ "$CONN_NUM" == "" ]]; then
echo [FAIL]: Local server not available
exit 1
Expand Down

0 comments on commit a9fb550

Please sign in to comment.