1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-29 16:04:33 +00:00

Shorten stale share messages slightly.

This commit is contained in:
Con Kolivas 2012-04-29 10:08:12 +10:00
parent 7233890d85
commit b015348df4

View File

@ -2140,13 +2140,13 @@ static void *submit_work_thread(void *userdata)
if (stale_work(work, true)) {
if (pool->submit_old)
applog(LOG_NOTICE, "Stale share detected, submitting as pool %d requested",
applog(LOG_NOTICE, "Stale share, submitting as pool %d requested",
pool->pool_no);
else if (opt_submit_stale)
applog(LOG_NOTICE, "Stale share detected from pool %d, submitting as user requested",
applog(LOG_NOTICE, "Stale share from pool %d, submitting as user requested",
pool->pool_no);
else {
applog(LOG_NOTICE, "Stale share detected from pool %d, discarding",
applog(LOG_NOTICE, "Stale share from pool %d, discarding",
pool->pool_no);
sharelog("discard", work);
total_stale++;