aboutsummaryrefslogtreecommitdiff
path: root/client.py
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2025-05-06 19:33:30 +0200
committerSébastien Dailly <sebastien@dailly.me>2025-05-06 19:33:30 +0200
commit4bf1c1ffe795a1d28a543a20cc3771a30a090b89 (patch)
tree09e1bb81744be02fd3a8422f9002ec3139f54100 /client.py
parent0d037fd1170ecc30cea677f563dfb50dff7360c6 (diff)
Added a dedicated thread for handling events sent to the endpoint
Diffstat (limited to 'client.py')
-rwxr-xr-xclient.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/client.py b/client.py
index 9b59617..20dddce 100755
--- a/client.py
+++ b/client.py
@@ -40,7 +40,6 @@ s = component.queryAdapter(conn, endpoint.IEndpoint)
if args.layer is not None:
print(args.layer)
- s.queue = Queue()
s.connect()
with open(args.layer, "r") as json_file:
json_data = json_file.read()
@@ -57,7 +56,7 @@ class Conn(Thread):
Thread.__init__(self)
self.queue = queue
self.in_queue = Queue()
- s.queue = self.in_queue
+ #s.queue = self.in_queue
s.connect()
def run(self):