kin: auto-commit after pipeline
This commit is contained in:
parent
12fed3e31f
commit
49ea6542b8
8 changed files with 720 additions and 35 deletions
|
|
@ -45,7 +45,7 @@ function checkAndPoll() {
|
|||
if (!hasRunningTasks(updated)) stopPoll()
|
||||
} catch (e: any) {
|
||||
consecutiveErrors.value++
|
||||
console.warn('[polling] error #' + consecutiveErrors.value + ':', e)
|
||||
console.warn(`[polling] ошибка #${consecutiveErrors.value}:`, e)
|
||||
if (consecutiveErrors.value >= 3) {
|
||||
error.value = t('chat.server_unavailable')
|
||||
stopPoll()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue