Skip to content

Commit 93bc8e5

Browse files
authored
Merge pull request #46 from python36/ordered_queue
Fix the order of messages in the publishing queue
2 parents a704fa9 + f465e3b commit 93bc8e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nmqtt.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type
3636
s: AsyncSocket
3737
ssl: SslContext
3838
msgIdSeq: MsgId
39-
workQueue: Table[MsgId, Work]
39+
workQueue: OrderedTable[MsgId, Work]
4040
pubCallbacks: Table[string, PubCallback]
4141
inWork: bool
4242
keepAlive: uint16

0 commit comments

Comments
 (0)