Skip to content

Commit

Permalink
feat: Set default flush interval to 30s (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
astuyve authored Nov 26, 2024
1 parent b72d570 commit 0417d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bottlecap/src/lifecycle/flush_control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use tracing::debug;

use crate::lifecycle::invocation_times::InvocationTimes;

const DEFAULT_FLUSH_INTERVAL: u64 = 1000; // 1s
const DEFAULT_FLUSH_INTERVAL: u64 = 30 * 1000; // 30s
const TWENTY_SECONDS: u64 = 20 * 1000;

#[derive(Clone, Copy, Debug, PartialEq)]
Expand Down

0 comments on commit 0417d21

Please sign in to comment.