This commit is contained in:
Tanguy 2023-05-26 16:54:44 +02:00
parent 80c3f94945
commit 0677853c97
No known key found for this signature in database
GPG Key ID: 7DD8EC6B6CE6C45E

View File

@ -131,7 +131,7 @@ method handle*(m: Mplex) {.async, gcsafe.} =
while not m.connection.atEof:
trace "waiting for data", m
let
(id, msgType, data) = await m.connection.readMsg()
(id, msgType, data) = await m.connection.readMsg().wait(10.minutes)
initiator = bool(ord(msgType) and 1)
logScope: