Пример #1
0
 def handle_quit(self):
     self.controller.add_job(None, make_json("quit"))
Пример #2
0
 def handle_hup(self):
     self.controller.add_job(None, make_json("reload", graceful=True,
                                             async=True))
Пример #3
0
 def handle_hup(self):
     self.controller.dispatch((None, make_json("reload", graceful=True)))
Пример #4
0
 def handle_quit(self):
     self.controller.dispatch((None, make_json("quit")))
Пример #5
0
 def handle_hup(self):
     self.controller.dispatch((None, make_json("reload", graceful=True)))
Пример #6
0
 def handle_quit(self):
     self.controller.dispatch((None, make_json("quit")))
Пример #7
0
 def handle_quit(self):
     self.controller.add_job(None, make_json("quit", graceful=True))