Monitor task freezes and processing times
FrameProcessor.create_task()
method. If you use asyncio.create_task()
or loop.create_task()
, watchdog timers will not work.
PipelineTask
constructor arguments:
FrameProcessor
, using the same argument names in the constructor, or even per task when creating them with FrameProcessor.create_task()
.
enable_watchdog_timers
.FrameProcessor.create_task()
and its watchdog timer is started.self.reset_watchdog()
to prevent the watchdog timer to expireFrameProcessor.create_task()
)PipelineTask
, per FrameProcessor
or per task