Commit d656c14ef84b0e4954d11ffd3b9a8a5acc29f7e6

Con Kolivas 2011-12-29T13:42:49

Don't give pool slow warning if it is the donation pool.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/main.c b/main.c
index 8c4bfdb..ad1bd27 100644
--- a/main.c
+++ b/main.c
@@ -3954,7 +3954,7 @@ static bool pool_active(struct pool *pool, bool pinging)
 	} else {
 		applog(LOG_DEBUG, "FAILED to retrieve work from pool %u %s",
 		       pool->pool_no, pool->rpc_url);
-		if (!pinging)
+		if (!pinging && pool != &donationpool)
 			applog(LOG_WARNING, "Pool %u slow/down or URL or credentials invalid", pool->pool_no);
 	}