Poke and reschedule modes

A sensor can work in poke mode, where it occupies a worker slot for the whole wait, or in reschedule mode, where it frees the slot between two checks and reschedules itself. The latter saves resources for long waits with widely spaced checks.

Example

FileSensor(task_id='attente', filepath='/data/x.csv', mode='reschedule', poke_interval=300)

Related concepts

The whole glossary