Skip to main content

report_rate_limits

Function report_rate_limits 

Source
pub(in runtime) async fn report_rate_limits(
    conn: &mut PgConnection,
    phase: CreditRegistrationPhase,
) -> CreditRegistrationResult<()>
Expand description

Copies the limiter state of the phase’s endpoints to the database for the dashboard, which runs in another process.