Browse Source

log: add LOG_DEBUG message on restarting stratum.

nfactor-troky
Noel Maersk 10 years ago
parent
commit
91d36d097a
  1. 3
      util.c

3
util.c

@ -2422,12 +2422,15 @@ out: @@ -2422,12 +2422,15 @@ out:
bool restart_stratum(struct pool *pool)
{
applog(LOG_DEBUG, "Restarting stratum on pool %s", pool->poolname);
if (pool->stratum_active)
suspend_stratum(pool);
if (!initiate_stratum(pool))
return false;
if (!auth_stratum(pool))
return false;
return true;
}

Loading…
Cancel
Save