diff --git a/server/src/acme.rs b/server/src/acme.rs index a42a37c..8e74998 100644 --- a/server/src/acme.rs +++ b/server/src/acme.rs @@ -220,11 +220,11 @@ impl ACMEProvider { let cert_chain_pem = loop { match order.certificate() { Ok(Some(cert_chain_pem)) => break cert_chain_pem, - _ => sleep(Duration::from_secs((1 << (retries + 1)).min(10))).await, + _ => sleep(Duration::from_secs(1)).await, } retries += 1; warn!("domain: {domain} order certificate failure at {retries}"); - if retries > 10 { + if retries > 20 { bail!("domain {domain} cert not received") } };