client: don't shorten default timeout with ASYNCDNS

With connected sockets recv() should fail immediately if chronyd is not
listening on localhost and with the Unix socket connecting should fail.
This commit is contained in:
Miroslav Lichvar
2015-09-30 14:20:49 +02:00
parent 38ac2b39ce
commit cec7c44f61
2 changed files with 1 additions and 6 deletions

View File

@@ -2710,9 +2710,6 @@ main(int argc, char **argv)
if (!hostnames) {
hostnames = DEFAULT_COMMAND_SOCKET",127.0.0.1,::1";
#ifdef FEAT_ASYNCDNS
initial_timeout /= 10;
#endif
}
UTI_SetQuitSignalsHandler(signal_handler);