watchdog#
API documentation for tradeexecutor.cli.watchdog Python module in Trading Strategy.
Module description#
Watch out for internal oracle hang conditions.
Suitable for multithread and multiprocess watching.
Classes#
How does the watchdog communicate with its tasks. |
Functions#
|
Check that all workers have reported in time. |
|
Create new multiprocess co-ordation structure. |
|
Get the UNIX timestamp when a process pinged last time. |
|
Get the UNIX timestamp when a process pinged last time. |
|
Get list of processes that are on the watchdog list. |
|
Mark the worker being alive. |
|
Register a worker/main loop. |
|
Call in the main thread. |
Stop making watchdog checks. |
|
|
Hard kill Python application despite multiple threads. |