Skip to main content

patch_job

Function patch_job 

Source
pub(crate) fn patch_job(
    state: &AppState,
    caller: Option<&Caller>,
    id: &str,
    body: Value,
    origin: Origin,
) -> (StatusCode, Json<Value>)
Expand description

handle_cron_patch’s work. origin.from_host: the operator’s edit, from the host route or the app’s own proven window, which may raise caps, confirm a job on a provider that reports no cost, and change a spawn job.