import uses persistent toasts

This commit is contained in:
zadam
2019-10-17 20:44:51 +02:00
parent 8886e95847
commit 992d174b23
4 changed files with 57 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ class ImportContext {
async increaseProgressCount() {
this.progressCount++;
if (Date.now() - this.lastSentCountTs >= 1000) {
if (Date.now() - this.lastSentCountTs >= 300) {
this.lastSentCountTs = Date.now();
await ws.sendMessageToAllClients({