From b363c7fd813eeb85d8da8047799c5281337672ca Mon Sep 17 00:00:00 2001 From: Iris Date: Thu, 23 Nov 2023 18:32:45 +0100 Subject: [PATCH] fix: rollback duration --- bot/src/bot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/src/bot.rs b/bot/src/bot.rs index 342088a..73600a7 100644 --- a/bot/src/bot.rs +++ b/bot/src/bot.rs @@ -38,7 +38,7 @@ pub async fn get_domains_ready_for_renewal( logger: &Logger, ) -> Result { let auto_renews_collection = state.db.collection::("auto_renew_flows"); - let min_expiry_date = Utc::now() + Duration::days(60); + let min_expiry_date = Utc::now() + Duration::days(30); // Define aggregate pipeline let pipeline = vec![