patx/mrhttp-asgi

Py 3.10 loop deprecation

Commit 4a94548 · MarkReedZ · 2024-03-06T19:18:30Z

Changeset
4a94548bdd9c8c578d11ca8c864597caa104ac01
Parents
05464e53d8b642c211e65e6bacfc667b18840549

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/src/mrhttp/mrqclient.py b/src/mrhttp/mrqclient.py
index aeb22e9..0654d2a 100644
--- a/src/mrhttp/mrqclient.py
+++ b/src/mrhttp/mrqclient.py
@@ -18,7 +18,7 @@ class MrqServer():
     self.num_connections = 0
     self.reconnecting = False
     self.reconnect_attempts = 0
-    self.q = asyncio.Queue( loop=loop )
+    self.q = asyncio.Queue( )
     
        
 class MrqClient(mrhttp.CMrqClient):