Skip to main content

jobs_store

Function jobs_store 

Source
pub(crate) fn jobs_store(state: &AppState) -> Option<Arc<Store>>
Expand description

Where jobs are (db_jobs): the shared store, beside the db_cron_jobs it replaced, or the work store of a task dev build, which keeps its own (crate::registry::work_store). Every job read and write goes through here, so the store can move in one place.