kopia lustrzana https://github.com/Yakifo/amqtt
commit
2683e0772e
|
@ -446,7 +446,7 @@ class ProtocolHandler:
|
||||||
self.logger.debug(f"{self.session.client_id} Starting reader coro")
|
self.logger.debug(f"{self.session.client_id} Starting reader coro")
|
||||||
running_tasks: collections.deque[asyncio.Task[None]] = collections.deque()
|
running_tasks: collections.deque[asyncio.Task[None]] = collections.deque()
|
||||||
keepalive_timeout: int | None = self.session.keep_alive
|
keepalive_timeout: int | None = self.session.keep_alive
|
||||||
if keepalive_timeout and keepalive_timeout <= 0:
|
if keepalive_timeout is not None and keepalive_timeout <= 0:
|
||||||
keepalive_timeout = None
|
keepalive_timeout = None
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
|
Plik diff jest za duży
Load Diff
Ładowanie…
Reference in New Issue