Мелкие поправки таймаутов

This commit is contained in:
Book Pauk
2020-12-03 12:39:16 +07:00
parent a085e04c4d
commit afc8c84f41
2 changed files with 2 additions and 1 deletions

View File

@@ -138,6 +138,7 @@ class WebSocketController {
i++;
if (i > 2*60*1000/refreshPause) {//2 мин ждем телодвижений воркера
this.send({state: 'error', error: 'Время ожидания процесса истекло'}, req, ws);
break;
}
i = (prevProgress != state.progress || prevState != state.state ? 1 : i);
}