Commit b224ef3838a197f89b7e895b9f220e6ef826a2f1

Con Kolivas 2013-12-30T20:25:20

If no pools are active on startup wait 60s before trying to reconnect since we likely have the wrong credentials rather than all the pools being out.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/cgminer.c b/cgminer.c
index cc8f372..553ce1e 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -8161,8 +8161,8 @@ int main(int argc, char *argv[])
 			}
 #ifdef HAVE_CURSES
 			if (use_curses) {
-				halfdelay(150);
-				applog(LOG_ERR, "Press any key to exit, or cgminer will try again in 15s.");
+				halfdelay(600);
+				applog(LOG_ERR, "Press any key to exit, or cgminer will try again in 60s.");
 				if (getch() != ERR)
 					quit(0, "No servers could be used! Exiting.");
 				cbreak();