fixed typo
This commit is contained in:
parent
5e11f39c86
commit
819c6c8266
1 changed files with 2 additions and 2 deletions
|
|
@ -430,7 +430,7 @@ class PlejdService extends EventEmitter {
|
||||||
console.log('startWriteQueue()');
|
console.log('startWriteQueue()');
|
||||||
clearInterval(this.writeQueueRef);
|
clearInterval(this.writeQueueRef);
|
||||||
|
|
||||||
this.writeQueueRef = setTimeout(runWriteQueue, 400);
|
this.writeQueueRef = setTimeout(this.runWriteQueue, 400);
|
||||||
// this.writeQueueRef = setInterval(async () => {
|
// this.writeQueueRef = setInterval(async () => {
|
||||||
// while (this.writeQueue.length > 0) {
|
// while (this.writeQueue.length > 0) {
|
||||||
// const data = this.writeQueue.pop();
|
// const data = this.writeQueue.pop();
|
||||||
|
|
@ -445,7 +445,7 @@ class PlejdService extends EventEmitter {
|
||||||
await this.write(data, true);
|
await this.write(data, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.writeQueueRef = setTimeout(runWriteQueue, 400);
|
this.writeQueueRef = setTimeout(this.runWriteQueue, 400);
|
||||||
}
|
}
|
||||||
|
|
||||||
async _processPlejdService(path, characteristics) {
|
async _processPlejdService(path, characteristics) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue