Skip to main content

set_test_exclusive_hold

Function set_test_exclusive_hold 

Source
async fn set_test_exclusive_hold(
    app_conf: Data<ApplicationConfiguration>,
    pool: Data<PgPool>,
    payload: Json<SetTestExclusiveHoldPayload>,
) -> ControllerResult<HttpResponse>
Expand description

Excuses a user’s rows from the live background worker’s unscoped sweeps — see credit_registrations::set_test_exclusive_hold_for_testing. Keyed on identity rather than a row id, so a spec can hold before materialize creates the row it means to protect.