aboutsummaryrefslogtreecommitdiff
path: root/src/com/github/ivarref/yoltq/migrate.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/github/ivarref/yoltq/migrate.clj')
-rw-r--r--src/com/github/ivarref/yoltq/migrate.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/github/ivarref/yoltq/migrate.clj b/src/com/github/ivarref/yoltq/migrate.clj
index 89fc286..6313b73 100644
--- a/src/com/github/ivarref/yoltq/migrate.clj
+++ b/src/com/github/ivarref/yoltq/migrate.clj
@@ -47,7 +47,7 @@
(let [tx (to->v2-ent cfg now-ms id)]
@(d/transact conn tx)
(if loop?
- (recur (conj tx-vec tx))
+ (recur (vec (take 10 (conj tx-vec tx))))
tx))
(do
(log/info "No items left to migrate")