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.
This commit is contained in:
Joris Vink 2022-01-29 08:55:50 +01:00
parent 93ec99c23e
commit 41a4be384e
1 changed files with 1 additions and 1 deletions

View File

@ -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));