hunter/main: increase metric timeout

stream_token has low fluctuation, it was disappearing from the stats.
This commit is contained in:
Astro 2023-10-29 20:51:04 +01:00
parent c4f2b1f640
commit c567cb62e9
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ async fn run() {
PrometheusBuilder::new()
.with_http_listener(([0; 8], config.prometheus_port))
.add_global_label("application", env!("CARGO_PKG_NAME"))
.idle_timeout(MetricKindMask::ALL, Some(Duration::from_secs(600)))
.idle_timeout(MetricKindMask::ALL, Some(Duration::from_secs(6 * 3600)))
.install()
.unwrap();