Исправление багов

This commit is contained in:
Book Pauk
2022-09-26 18:56:30 +07:00
parent 90c41f3c37
commit 7b75ec466c
2 changed files with 45 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
class LockQueue {
constructor(queueSize) {
constructor(queueSize = 100) {
this.queueSize = queueSize;
this.freed = true;
this.waitingQueue = [];