mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Fixing comment again.
This commit is contained in:
parent
d2c14f872c
commit
f5dc90f729
1 changed files with 4 additions and 4 deletions
|
@ -140,10 +140,10 @@ class MicroBit {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A task queue to track communication tasks sent over the socket.
|
* A task queue to track communication tasks sent over the socket.
|
||||||
* The max tokens for the task queue bucket is set to 1, the refill rate
|
* The bucket in this task queue holds 1 task at a time, and refills
|
||||||
* is set to 10/second. The max total cost is set to 30, meaning that the
|
* at a rate of 10 tasks per second, from a queue that holds at maximum
|
||||||
* task queue will not add any new tasks if it contains tasks adding up to
|
* 30 tasks. If more than 30 tasks are added to the task queue in a short
|
||||||
* a cost of 30.
|
* period, some tasks may be rejected (ignored) by the task queue.
|
||||||
* @type {TaskQueue}
|
* @type {TaskQueue}
|
||||||
*/
|
*/
|
||||||
this._queue = new TaskQueue(1, 10, {maxTotalCost: 30});
|
this._queue = new TaskQueue(1, 10, {maxTotalCost: 30});
|
||||||
|
|
Loading…
Reference in a new issue