]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Reduce request timeout in chronyc
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 27 Apr 2009 14:43:36 +0000 (16:43 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 27 Apr 2009 14:44:44 +0000 (16:44 +0200)
client.c

index 66f297fb0200c5bcd0fc24a32d57881ebcec227d..54b640f5566ad66e0618d75cdd308bd5105f7ada 100644 (file)
--- a/client.c
+++ b/client.c
@@ -1154,7 +1154,7 @@ submit_request(CMD_Request *request, CMD_Reply *reply, int *reply_auth_ok)
   request->token = htonl(token);
 
 
-  timeout_seconds = 120;
+  timeout_seconds = 2;
 
   n_attempts = 0;