🚧 Minor changes on blocking calls for thumbnails generation.

This commit is contained in:
Andrey Antukh 2020-01-27 16:52:19 +01:00
parent aaa8bfe67d
commit bfe6b98ee1
2 changed files with 27 additions and 1 deletions

View file

@ -39,7 +39,9 @@
[rows]
(if (empty? rows)
rows
(p/all (map populate-thumbnail rows))))
(vc/blocking
(mapv (fn [row]
(images/populate-thumbnail row +thumbnail-options+)) rows))))
(defn populate-urls
[row]