Increase queue flush debounce time

This commit is contained in:
Joseph T. Lyons 2023-12-22 19:57:13 -05:00
parent 0746a10d9b
commit 1989094e6d
2 changed files with 2 additions and 2 deletions

View file

@ -125,7 +125,7 @@ const MAX_QUEUE_LEN: usize = 50;
const DEBOUNCE_INTERVAL: Duration = Duration::from_secs(1);
#[cfg(not(debug_assertions))]
const DEBOUNCE_INTERVAL: Duration = Duration::from_secs(30);
const DEBOUNCE_INTERVAL: Duration = Duration::from_secs(120);
impl Telemetry {
pub fn new(client: Arc<dyn HttpClient>, cx: &AppContext) -> Arc<Self> {

View file

@ -124,7 +124,7 @@ const MAX_QUEUE_LEN: usize = 50;
const DEBOUNCE_INTERVAL: Duration = Duration::from_secs(1);
#[cfg(not(debug_assertions))]
const DEBOUNCE_INTERVAL: Duration = Duration::from_secs(30);
const DEBOUNCE_INTERVAL: Duration = Duration::from_secs(120);
impl Telemetry {
pub fn new(client: Arc<dyn HttpClient>, cx: &mut AppContext) -> Arc<Self> {