1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

Make sharedQueue overflow warning quieter (#2008)

This commit is contained in:
Ryan Dahl 2019-03-28 14:13:34 -04:00 committed by Bert Belder
parent da1b98b690
commit 51abcd6147

View file

@ -129,7 +129,7 @@ impl SharedQueue {
let end = off + record.len(); let end = off + record.len();
let index = self.num_records(); let index = self.num_records();
if end > self.bytes.len() { if end > self.bytes.len() {
eprintln!("WARNING the sharedQueue overflowed"); debug!("WARNING the sharedQueue overflowed");
return false; return false;
} }
self.set_end(index, end); self.set_end(index, end);