Skip to main content

run

Function run 

Source
pub async fn run(
    pool: PgPool,
    issuer: Arc<AcmeIssuer>,
    cancel: CancellationToken,
)
Expand description

Run until cancelled.

Errors are logged and the loop continues: a worker that exits on a database hiccup would silently stop issuing certificates for the life of the process, which is exactly the class of failure this module exists to remove.