\ SIGUSR2 handling. Creates a new arbiter/worker set as a fork of the current arbiter without affecting old workers. Use this to do live deployment with the ability to backout a change.
(self)
| 332 | self.kill_dirty_arbiter(signal.SIGUSR1) |
| 333 | |
| 334 | def handle_usr2(self): |
| 335 | """\ |
| 336 | SIGUSR2 handling. |
| 337 | Creates a new arbiter/worker set as a fork of the current |
| 338 | arbiter without affecting old workers. Use this to do live |
| 339 | deployment with the ability to backout a change. |
| 340 | """ |
| 341 | self.reexec() |
| 342 | |
| 343 | def handle_winch(self): |
| 344 | """SIGWINCH handling""" |