Commit 657812ada40d771c24fe9e918b004dccd9e488c0

Con Kolivas 2011-08-16T10:15:47

Probe for slightly longer for when network conditions are lagging.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/util.c b/util.c
index dc53d05..7b04c6b 100644
--- a/util.c
+++ b/util.c
@@ -318,8 +318,8 @@ json_t *json_rpc_call(CURL *curl, const char *url,
 
 	if (probe) {
 		probing = ((want_longpoll && !have_longpoll) || !pool->probed);
-		/* Probe for only 10 seconds */
-		curl_easy_setopt(curl, CURLOPT_TIMEOUT, 10);
+		/* Probe for only 14 seconds */
+		curl_easy_setopt(curl, CURLOPT_TIMEOUT, 15);
 	}
 
 	if (opt_protocol)