Skip to content

Commit

Permalink
tweak on latencies between gpu round
Browse files Browse the repository at this point in the history
  • Loading branch information
djm34 committed Jan 24, 2016
1 parent 914a2b5 commit aca9076
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ccminer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit aca9076

Please sign in to comment.