Avoid to log limits if not relevant for the scrub plan

This commit is contained in:
Andrea Mazzoleni 2015-11-20 19:29:04 +01:00
parent 193519d8fc
commit f389afe678

View file

@ -701,11 +701,10 @@ int state_scrub(struct snapraid_state* state, int plan, int olderthan)
}
log_tag("count_limit:%u\n", countlimit);
log_tag("time_limit:%" PRIu64 "\n", (uint64_t)ps.timelimit);
log_tag("last_limit:%u\n", ps.lastlimit);
}
log_tag("time_limit:%" PRIu64 "\n", (uint64_t)ps.timelimit);
log_tag("last_limit:%u\n", ps.lastlimit);
/* free the temp vector */
free(timemap);