From 01af3fa18d218daca58b14a4d58e37942b9cb246 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 30 May 2023 17:36:36 +1000 Subject: [PATCH] Demote warning about rmem/wmem max and make its need more explicit in the log. --- src/ckpool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ckpool.c b/src/ckpool.c index 446894c5..d23b6808 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -500,7 +500,7 @@ int set_sendbufsize(ckpool_t *ckp, const int fd, const int len) opt /= 2; } if (opt < len) { - LOGWARNING("Failed to increase sendbufsize to %d, increase wmem_max or start %s privileged", + LOGNOTICE("Failed to increase sendbufsize to %d, increase wmem_max or start %s privileged if using a remote btcd", len, ckp->name); ckp->wmem_warn = true; } else @@ -528,7 +528,7 @@ int set_recvbufsize(ckpool_t *ckp, const int fd, const int len) opt /= 2; } if (opt < len) { - LOGWARNING("Failed to increase rcvbufsiz to %d, increase rmem_max or start %s privileged", + LOGNOTICE("Failed to increase rcvbufsiz to %d, increase rmem_max or start %s privileged if using a remote btcd", len, ckp->name); ckp->rmem_warn = true; } else