diff --git a/nmqtt.nim b/nmqtt.nim index 9689724..56b74e5 100644 --- a/nmqtt.nim +++ b/nmqtt.nim @@ -36,7 +36,7 @@ type s: AsyncSocket ssl: SslContext msgIdSeq: MsgId - workQueue: Table[MsgId, Work] + workQueue: OrderedTable[MsgId, Work] pubCallbacks: Table[string, PubCallback] inWork: bool keepAlive: uint16