瀏覽代碼

fix: remove idx debug

Tienson Qin 3 周之前
父節點
當前提交
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)
           _ (when (nil? 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
     (p/doseq [batch batches]
       (p/let [dec-rows (db-sync/<decrypt-snapshot-rows-batch aes-key batch)]