   (do
     (println "Hello, Bulky World!")
     (mount/start)
-    (time (run))
+    (run)
     (mount/stop)))

                ;; normal batches won't be nil
                ;; only get nil when channel is closed
                (do
                  (println (meta job))
                  (run-index-batch db job)
                  (recur))
                ))))

        (do
          ;; add jobs to scheduler in sequence

      (http/put index-url {:headers {:content-type "application/json"}
                           :body (json/generate-string index-settings)})
      (let [n-threads 4
            scheduler (chan n-threads)
            logger (chan n-threads)]

        ;; logging
        (go
          (time
           (loop []
             (if-let [entry (<! logger)]
               ;; normal batches won't be nil
               ;; only get nil when channel is closed
               (do
                 (prn entry)
                 (recur))))))


        ;; multiple independent workers to execute jobs
        (dotimes [i n-threads]
