예제 #1
0
 def __init__(self):
     self.policy = policy.Enforcer()
     self.pool = eventlet.GreenPool(size=1024)
     self.executor = executor.get_default_executor()
예제 #2
0
    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)
예제 #3
0
파일: members.py 프로젝트: lihuiba/volt
 def __init__(self):
     self.policy = policy.Enforcer()
     self.pool = eventlet.GreenPool(size=1024)
     self.executor = executor.get_default_executor()
예제 #4
0
    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)