commit 41a4be384e631988bc94f11aa0d33c4d1943576f
parent 93ec99c23ef96103776746898c55f4c644ee4643
Author: Joris Vink <joris@coders.se>
Date: Sat, 29 Jan 2022 08:55:50 +0100
Increase ACME signop timeout.
Just noticed the 5 seconds wasn't enough when renewing all
certificates in my own setup (i have about 30 ACME domains via Kore).
Bumped it to 30 seconds instead.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/acme.c b/src/acme.c
@@ -1609,7 +1609,7 @@ acme_sign_submit(struct kore_json_item *json, const char *url, void *udata,
op->id = signop_id++;
op->payload = acme_base64url(buf.data, buf.offset);
op->protected = acme_protected_component(op->nonce, url);
- op->t = kore_timer_add(acme_sign_expire, 5000, op, KORE_TIMER_ONESHOT);
+ op->t = kore_timer_add(acme_sign_expire, 30000, op, KORE_TIMER_ONESHOT);
kore_buf_reset(&buf);
kore_buf_append(&buf, &op->id, sizeof(op->id));