Commit ae78620292b948473981e8e6950589681a71fd06

Con Kolivas 2011-12-27T09:31:21

Show which pool is unresponsive on startup.

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