Browse Source

Probe for slightly longer for when network conditions are lagging.

Con Kolivas 14 years ago
parent
commit
657812ada4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      util.c

+ 2 - 2
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)