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:
parent
b591fbecf0
commit
2312561041
1 changed files with 4 additions and 1 deletions
|
@ -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])))))
|
||||
|
|
Loading…
Reference in a new issue