Skip to content

Commit

Permalink
NC | NSFS | Change printing of Warning stuck buffer_pool buffer fro…
Browse files Browse the repository at this point in the history
…m `console.warn` to `console.error`

Signed-off-by: shirady <[email protected]>
  • Loading branch information
shirady committed Dec 5, 2024
1 parent 8207cad commit 43849a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/buffer_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 43849a3

Please sign in to comment.