Tienson Qin 3 недель назад
Родитель
Сommit
31fb69ff24
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/frontend/worker/db_worker.cljs

+ 1 - 1
src/main/frontend/worker/db_worker.cljs

@@ -631,7 +631,7 @@
           aes-key (db-sync/<fetch-graph-aes-key-for-download repo graph-id)
           aes-key (db-sync/<fetch-graph-aes-key-for-download repo graph-id)
           _ (when (nil? aes-key)
           _ (when (nil? aes-key)
               (db-sync/fail-fast :db-sync/missing-field {:repo repo :field :aes-key}))
               (db-sync/fail-fast :db-sync/missing-field {:repo repo :field :aes-key}))
-          batches (medley/indexed (partition-all 100 rows))]
+          batches (partition-all 100 rows)]
     ;; sequential batches: low memory
     ;; sequential batches: low memory
     (p/doseq [batch batches]
     (p/doseq [batch batches]
       (p/let [dec-rows (db-sync/<decrypt-snapshot-rows-batch aes-key batch)]
       (p/let [dec-rows (db-sync/<decrypt-snapshot-rows-batch aes-key batch)]