aboutsummaryrefslogtreecommitdiff
path: root/src/com/github/ivarref/yoltq.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/github/ivarref/yoltq.clj')
-rw-r--r--src/com/github/ivarref/yoltq.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/github/ivarref/yoltq.clj b/src/com/github/ivarref/yoltq.clj
index 1a60a45..4b324c4 100644
--- a/src/com/github/ivarref/yoltq.clj
+++ b/src/com/github/ivarref/yoltq.clj
@@ -111,7 +111,7 @@
(defn- do-start! []
(let [{:keys [poll-delay pool-size system-error-poll-delay auto-migrate?] :as cfg} @*config*]
(when auto-migrate?
- (migrate/migrate! cfg))
+ (future (migrate/migrate! cfg)))
(reset! threadpool (Executors/newScheduledThreadPool (+ 2 pool-size)))
(let [pool @threadpool
queue-listener-ready (promise)]