From 43849a3c655ef1981c00bc80d772b9df4432e0b5 Mon Sep 17 00:00:00 2001 From: shirady <57721533+shirady@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:31:57 +0200 Subject: [PATCH] NC | NSFS | Change printing of `Warning stuck buffer_pool buffer` from `console.warn` to `console.error` Signed-off-by: shirady <57721533+shirady@users.noreply.github.com> --- src/util/buffer_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/buffer_utils.js b/src/util/buffer_utils.js index 34845f1b67..25576a03ae 100644 --- a/src/util/buffer_utils.js +++ b/src/util/buffer_utils.js @@ -217,7 +217,7 @@ class BuffersPool { if (this.warning_timeout) { const err = new Error('Warning stuck buffer_pool buffer'); warning_timer = setTimeout(() => { - console.error(err.stack); + console.warn(err.stack); }, this.warning_timeout); warning_timer.unref(); }