From 7bfdcc95a4e02ae968f5536743f57b247f773e22 Mon Sep 17 00:00:00 2001 From: aiden Date: Thu, 21 Apr 2022 18:52:06 +0100 Subject: [PATCH] decreased polling interval --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index cc9acec..bb1ded3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -422,7 +422,7 @@ fn main() -> Result<(), Box> { )?; } loop { - std::thread::sleep(std::time::Duration::from_secs(5)); + std::thread::sleep(std::time::Duration::from_secs(3)); let resp = acme_post( &mut(tuple), &(order.url), "", @@ -441,7 +441,7 @@ fn main() -> Result<(), Box> { )?; let mut acme_order: AcmeOrder; loop { - std::thread::sleep(std::time::Duration::from_secs(5)); + std::thread::sleep(std::time::Duration::from_secs(3)); let resp = acme_post( &mut(tuple), &(order.url), "",