diff --git a/ccminer.cpp b/ccminer.cpp index e95a896..ae12647 100644 --- a/ccminer.cpp +++ b/ccminer.cpp @@ -182,10 +182,10 @@ bool use_colors = true; static bool opt_background = false; bool opt_quiet = false; static int opt_retries = -1; -static int opt_fail_pause = 30; +static int opt_fail_pause = 5; static int opt_time_limit = 0; -int opt_timeout = 300; -static int opt_scantime = 30; +int opt_timeout = 270; +static int opt_scantime = 5; static json_t *opt_config; static const bool opt_time = true; static enum sha_algos opt_algo = ALGO_X11; @@ -1333,7 +1333,7 @@ static void *miner_thread(void *userdata) if (have_stratum) { uint32_t sleeptime = 0; - while (!work_done && time(NULL) >= (g_work_time + opt_scantime)) + while (!work_done && time(NULL) >= (g_work_time + 60)) { usleep(100*1000); if (sleeptime > 4) {