Skip to content

Commit

Permalink
Merge pull request #8580 from shirady/nsfs-nc-buffer-pool-printings
Browse files Browse the repository at this point in the history
NC | NSFS | Change printing of `Warning stuck buffer_pool buffer` from `console.warn` to `console.error`
  • Loading branch information
shirady authored Dec 5, 2024
2 parents 8207cad + 43849a3 commit 4847584
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 4847584

Please sign in to comment.