We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 639c58f commit c356cf8Copy full SHA for c356cf8
bridge/svix-bridge/src/webhook_receiver/mod.rs
@@ -40,7 +40,7 @@ fn router() -> Router<InternalState> {
40
.route("/health", get(health_handler))
41
}
42
static START_TIME: once_cell::sync::Lazy<std::time::Instant> =
43
- once_cell::sync::Lazy::new(|| std::time::Instant::now());
+ once_cell::sync::Lazy::new(std::time::Instant::now);
44
45
fn get_uptime_seconds() -> u64 {
46
START_TIME.elapsed().as_secs()
0 commit comments