SIGWINCH handling
(self)
| 341 | self.reexec() |
| 342 | |
| 343 | def handle_winch(self): |
| 344 | """SIGWINCH handling""" |
| 345 | if self.cfg.daemon: |
| 346 | self.log.info("graceful stop of workers") |
| 347 | self.num_workers = 0 |
| 348 | self.kill_workers(signal.SIGTERM) |
| 349 | else: |
| 350 | self.log.debug("SIGWINCH ignored. Not daemonized") |
| 351 | |
| 352 | def maybe_promote_master(self): |
| 353 | if self.master_pid == 0: |
nothing calls this directly
no test coverage detected