def __init__(self): self.policy = policy.Enforcer() self.pool = eventlet.GreenPool(size=1024) self.executor = executor.get_default_executor()
def __init__(self): self.policy = policy.Enforcer() self.pool = eventlet.GreenPool(size=1024) self.executor = executor.get_default_executor() # self.pool.spawn_n(self.executor.kickoff_dead_node()) self.scanning_thread = executor.ScanningThread(self.executor)