Skip to main content

keep_alive

Function keep_alive 

Source
pub(super) async fn keep_alive(
    pool: &PgPool,
    phase: CreditRegistrationPhase,
) -> Infallible
Expand description

Refreshes one phase’s heartbeat until dropped, so a long study registry call does not raise the stale-worker alert.