Increase telemetry queue size

This commit is contained in:
Joseph T. Lyons 2023-12-22 19:56:06 -05:00
parent 2edf560e5c
commit 0746a10d9b
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ pub enum ClickhouseEvent {
const MAX_QUEUE_LEN: usize = 1;
#[cfg(not(debug_assertions))]
const MAX_QUEUE_LEN: usize = 10;
const MAX_QUEUE_LEN: usize = 50;
#[cfg(debug_assertions)]
const DEBOUNCE_INTERVAL: Duration = Duration::from_secs(1);

View File

@ -118,7 +118,7 @@ pub enum ClickhouseEvent {
const MAX_QUEUE_LEN: usize = 1;
#[cfg(not(debug_assertions))]
const MAX_QUEUE_LEN: usize = 10;
const MAX_QUEUE_LEN: usize = 50;
#[cfg(debug_assertions)]
const DEBOUNCE_INTERVAL: Duration = Duration::from_secs(1);