There was an error while loading. Please reload this page.
1 parent 7d06710 commit a78fd1eCopy full SHA for a78fd1e
crates/common/src/knobs.rs
@@ -1104,6 +1104,14 @@ pub static BACKEND_USAGE_FIREHOSE_NAME: LazyLock<Option<String>> = LazyLock::new
1104
}
1105
});
1106
1107
+/// If usage tracking worker takes longer than this, trace details to logs.
1108
+pub static USAGE_TRACKING_WORKER_SLOW_TRACE_THRESHOLD: LazyLock<Duration> = LazyLock::new(|| {
1109
+ Duration::from_secs(env_config(
1110
+ "USAGE_TRACKING_WORKER_SLOW_TRACE_THRESHOLD_SECONDS",
1111
+ 120,
1112
+ ))
1113
+});
1114
+
1115
/// The number of events we can accumulate in the buffer that's used to send
1116
/// events from our business logic to our firehose client.
1117
///
0 commit comments