Skip to content

Commit

Permalink
re-add 10 minutes logs duration
Browse files Browse the repository at this point in the history
  • Loading branch information
ragibkl committed Aug 26, 2024
1 parent 911f980 commit 4644615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logs_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub struct LogsStore {

impl LogsStore {
pub fn remove_expired_logs(&self) {
let query_time_cutoff = Utc::now() - Duration::minutes(2);
let query_time_cutoff = Utc::now() - Duration::minutes(10);

let mut logs_store_guard = self.logs_store.lock().unwrap();
for query_logs in logs_store_guard.values_mut() {
Expand Down

0 comments on commit 4644615

Please sign in to comment.