Commit b622e97e3e3e060dc14a31296694bbe658d8028d

Con Kolivas 2012-08-20T11:03:28

We should not be pausing in trying to resubmit shares.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/cgminer.c b/cgminer.c
index ca9771d..4d1ce4b 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2554,9 +2554,7 @@ static void *submit_work_thread(void *userdata)
 		}
 
 		/* pause, then restart work-request loop */
-		applog(LOG_INFO, "json_rpc_call failed on submit_work, retry after %d seconds",
-			opt_fail_pause);
-		sleep(opt_fail_pause);
+		applog(LOG_INFO, "json_rpc_call failed on submit_work, retrying");
 	}
 	push_curl_entry(ce, pool);
 out: