mirror of
https://github.com/penpot/penpot.git
synced 2026-05-18 06:23:49 +00:00
✨ Temporaly disable parallel uploading of files on import
This commit is contained in:
parent
b591fbecf0
commit
2312561041
@ -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…
x
Reference in New Issue
Block a user