Пример #1
0
def _monitor_web_server():

    utils.restart_upon_crash(app.run, kwargs={'port': PORT})
Пример #2
0
    def _arp_scan_thread(self):

        utils.restart_upon_crash(self._arp_scan_thread_helper)