patroni.postgresql.cancellable module
- class patroni.postgresql.cancellable.CancellableExecutor
Bases:
objectThere must be only one such process so that AsyncExecutor can easily cancel it.
- __init__() None
- _kill_children() None
- _kill_process() None
- _start_process(cmd: List[str], *args: Any, **kwargs: Any) bool | None
This method must be executed only when the _lock is acquired