Do not retry immediately

This commit is contained in:
D. Berge
2023-10-04 14:49:09 +02:00
parent 6eccbf215a
commit d07565807c

View File

@@ -35,7 +35,7 @@ class ReportLineChangeTime {
while (this.queue.length > 0) {
if (this.queue[0].isPending) {
DEBUG("Queue busy");
setImmediate(() => this.processQueue());
setTimeout(() => this.processQueue(), 1000); // We're not in a hurry
return;
}