Skip to content

Commit 7c33829

Browse files
authored
wait_for_server_ready() function tails from beginning of server log (#287)
1 parent 09df1ba commit 7c33829

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

benchmarks/benchmark_lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ wait_for_server_ready() {
5757
fi
5858

5959
# Show logs until server is ready
60-
tail -f "$server_log" &
60+
tail -f -n +1 "$server_log" &
6161
local TAIL_PID=$!
6262
until curl --output /dev/null --silent --fail http://0.0.0.0:$port/health; do
6363
if ! kill -0 "$server_pid" 2>/dev/null; then

0 commit comments

Comments
 (0)