def child_handler(self, sig_val, ret_code):
        for a_name in self.proc.keys():
            if not self.proc[a_name].is_alive():
                self.log.warn(
                    "Worker Process for %s is not alive, respawning" % a_name
                )
                self.destroy_worker(a_name)
                self.create_worker(a_name)
dataset/ETHPy150Open practo/r5d4/r5d4/analytics_worker.py/AnalyticsWorker.child_handler/original