def signal_handler(signum=None, frame=None): logger.info('Signal handler called with signal {0}'.format(signum)) peer_manager.stop() chain_manager.stop() tcp_server.stop()
def signal_handler(signum=None, frame=None): log.info('Signal handler called', signal=signum) peer_manager.stop() chain_manager.stop() tcp_server.stop()