|
@@ -480,7 +480,6 @@ class OutboundClient:
|
|
|
|
|
|
def __init__(self, agent, logger):
|
|
|
self.logger = logger
|
|
|
- self.snowflake = Snowflake()
|
|
|
# self.whitelist = self.load_whitelist()
|
|
|
#threading.Thread(target=self.start, args=('0.0.0.0', 8084, agent, logger)).start()
|
|
|
server_thread = threading.Thread(target=self.start, args=('0.0.0.0', 8084, agent, logger))
|
|
@@ -551,6 +550,7 @@ class OutboundClient:
|
|
|
def __init__(self, server_address, RequestHandlerClass, agent, logger):
|
|
|
self.agent = agent
|
|
|
self.logger = logger
|
|
|
+ self.snowflake = Snowflake()
|
|
|
super().__init__(server_address, RequestHandlerClass)
|
|
|
|
|
|
def start(self, HOST='0.0.0.0', PORT=8084, agent=None, logger=None):
|