Merge pull request #47 from jstepien/pmap

Parallelize read-posts with pmap
This commit is contained in:
Dmitri Sotnikov 2015-09-23 16:11:26 -04:00
commit b96a872654

View file

@ -122,7 +122,7 @@
(fn [mu] (fn [mu]
(->> (->>
(find-posts config mu) (find-posts config mu)
(map #(parse-post % config mu)))) (pmap #(parse-post % config mu))))
(m/markups)) (m/markups))
(sort-by :date) (sort-by :date)
reverse)) reverse))