Skip to content

Commit

Permalink
decrease time
Browse files Browse the repository at this point in the history
  • Loading branch information
timzaak committed Jun 24, 2024
1 parent 2985b88 commit 91f41b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/acme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
};
Expand Down

0 comments on commit 91f41b1

Please sign in to comment.