MCPcopy
hub / github.com/psycopg/psycopg / StopWorker

Class StopWorker

psycopg_pool/psycopg_pool/pool.py:966–970  ·  view source on GitHub ↗

Signal the maintenance worker to terminate.

Source from the content-addressed store, hash-verified

964
965
966class StopWorker(MaintenanceTask):
967 """Signal the maintenance worker to terminate."""
968
969 def _run(self, pool: ConnectionPool[Any]) -> None:
970 pass
971
972
973class AddConnection(MaintenanceTask):

Callers 1

_signal_stop_workerMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected