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