fix queue size? only increase if the key is new
This commit is contained in:
parent
8040149e25
commit
f59cc0beb9
1 changed files with 1 additions and 1 deletions
|
|
@ -42,10 +42,10 @@ export namespace Queue {
|
|||
global.tail.next = node
|
||||
}
|
||||
global.tail = node
|
||||
global.size++
|
||||
}
|
||||
|
||||
global.store[key] = event
|
||||
global.size++
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue