Просмотр исходного кода

fix: small batches to keep the app responsive

Tienson Qin 2 лет назад
Родитель
Сommit
0a37f24aea
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/frontend/db/restore.cljs

+ 1 - 1
src/main/frontend/db/restore.cljs

@@ -76,7 +76,7 @@
 
 (defn- restore-other-data-from-sqlite!
   [repo data]
-  (let [per-length 2000
+  (let [per-length 500
         conn (db-conn/get-db repo false)]
     (p/loop [data data]
       (cond