raise limit to 100kb (#739)
This commit is contained in:
committed by
GitHub
parent
1e9d967b29
commit
50f253d45b
@@ -6,7 +6,7 @@ use tokio::time::{Duration, Instant, sleep_until};
|
|||||||
use crate::log_msg::LogMsg;
|
use crate::log_msg::LogMsg;
|
||||||
|
|
||||||
const WINDOW_MS: u64 = 10;
|
const WINDOW_MS: u64 = 10;
|
||||||
const WINDOW_LIMIT: usize = 10 * 1024; // 10 KiB per window
|
const WINDOW_LIMIT: usize = 100 * 1024; // 100 KiB per window
|
||||||
|
|
||||||
// helper that flushes buf + optional [truncated] marker
|
// helper that flushes buf + optional [truncated] marker
|
||||||
fn flush_buf(
|
fn flush_buf(
|
||||||
|
|||||||
Reference in New Issue
Block a user