0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

Temporaly disable parallel uploading of files on import

This commit is contained in:
Andrey Antukh 2022-02-10 01:09:53 +01:00 committed by Alonso Torres
parent b591fbecf0
commit 2312561041

View file

@ -342,7 +342,10 @@
pre-process-images
(->> (rx/from nodes)
(rx/filter media-node?)
(rx/merge-map
;; TODO: this should be merge-map, but we disable the
;; parallel upload until we resolve resource usage issues
;; on backend.
(rx/mapcat
(fn [node]
(->> (resolve-media context file-id node)
(rx/map (fn [result] [node result])))))