mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-30 00:14:26 +00:00
Probe for slightly longer for when network conditions are lagging.
This commit is contained in:
parent
8febf57af0
commit
657812ada4
4
util.c
4
util.c
@ -318,8 +318,8 @@ json_t *json_rpc_call(CURL *curl, const char *url,
|
|||||||
|
|
||||||
if (probe) {
|
if (probe) {
|
||||||
probing = ((want_longpoll && !have_longpoll) || !pool->probed);
|
probing = ((want_longpoll && !have_longpoll) || !pool->probed);
|
||||||
/* Probe for only 10 seconds */
|
/* Probe for only 14 seconds */
|
||||||
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 10);
|
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 15);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opt_protocol)
|
if (opt_protocol)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user