Bump the client ETA timeout from 5s to 30s
authorJens Axboe <axboe@fb.com>
Fri, 30 Oct 2015 02:52:23 +0000 (11:52 +0900)
committerJens Axboe <axboe@fb.com>
Fri, 30 Oct 2015 02:52:23 +0000 (11:52 +0900)
5 seconds is low enough that we sometimes falsely trigger the timeout.
It's meant to catch clients that have disappeared, so 5 seconds is
arguably way too low. Bump it to 30 seconds instead.

Signed-off-by: Jens Axboe <axboe@fb.com>
server.h

index 18a689ca7cf7ecfd889c91eed3419ad1cbb10f75..eb29de7817e28f148c19427c136ee9d174ba5c48 100644 (file)
--- a/server.h
+++ b/server.h
@@ -74,7 +74,7 @@ enum {
 
        FIO_NET_NAME_MAX                = 256,
 
-       FIO_NET_CLIENT_TIMEOUT          = 5000,
+       FIO_NET_CLIENT_TIMEOUT          = 30000,
 
        FIO_PROBE_FLAG_ZLIB             = 1UL << 0,
 };