def checktime(self): logging.info("begin to check timeout") self.websockets = list(filter(lambda x: not x.checktimeout(), self.websockets)) SubConnectionMgr.check()
def checktime(self): SubConnectionMgr.check()