fix queue size? only increase if the key is new

This commit is contained in:
Adam 2022-02-09 21:53:44 +01:00
parent 8040149e25
commit f59cc0beb9

View file

@ -42,10 +42,10 @@ export namespace Queue {
global.tail.next = node
}
global.tail = node
global.size++
}
global.store[key] = event
global.size++
}