Loading cloudcontrol/common/client/loop.py +7 −2 Original line number Diff line number Diff line Loading @@ -374,8 +374,9 @@ class MainLoop(object): # configure logging self.configure_logging() # always run evloop as debug, we don't want exceptions to be mute self.evloop = pyev.default_loop(flags=pyev.EVFLAG_SIGNALFD, debug=self.config.debug) debug=True) # keeps track of libev loop thread, create threading queue and an async # watcher for performing work in libev thread from external thread Loading Loading @@ -565,7 +566,11 @@ class MainLoop(object): logger.debug('About to connect') self.connect.start() logger.debug('About to start ev_loop') try: self.evloop.start() except: logger.exception('Unexpected exception while running main loop') sys.exit(1) def stop(self, watcher=None, revents=None): logger.info('Exiting node...') Loading Loading
cloudcontrol/common/client/loop.py +7 −2 Original line number Diff line number Diff line Loading @@ -374,8 +374,9 @@ class MainLoop(object): # configure logging self.configure_logging() # always run evloop as debug, we don't want exceptions to be mute self.evloop = pyev.default_loop(flags=pyev.EVFLAG_SIGNALFD, debug=self.config.debug) debug=True) # keeps track of libev loop thread, create threading queue and an async # watcher for performing work in libev thread from external thread Loading Loading @@ -565,7 +566,11 @@ class MainLoop(object): logger.debug('About to connect') self.connect.start() logger.debug('About to start ev_loop') try: self.evloop.start() except: logger.exception('Unexpected exception while running main loop') sys.exit(1) def stop(self, watcher=None, revents=None): logger.info('Exiting node...') Loading