From aca9076084ffebfa67ec6ccbeb3bc0742c2b24ec Mon Sep 17 00:00:00 2001 From: djm34 Date: Mon, 25 Jan 2016 00:52:38 +0100 Subject: [PATCH] tweak on latencies between gpu round --- ccminer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) {