Redis Sentinel support as an in-memory store and cluster coordinator backend (closes #2430)
This commit is contained in:
@@ -43,7 +43,7 @@ const MAX_RETRIES: u32 = 5;
|
||||
async fn acme_management(server: &Server, task: &TaskDomainManagement) -> trc::Result<TaskResult> {
|
||||
let mut last_temporary_error = Ok(TaskResult::temporary(""));
|
||||
for retry in 0..MAX_RETRIES {
|
||||
last_temporary_error = match server.acme_renew(task.domain_id).await {
|
||||
last_temporary_error = match Box::pin(server.acme_renew(task.domain_id)).await {
|
||||
Ok(tasks) => return Ok(TaskResult::Success(tasks)),
|
||||
Err(err) => match err {
|
||||
AcmeError::Crypto(_)
|
||||
|
||||
Reference in New Issue
Block a user