0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-10 05:51:33 -05:00

Merge pull request #4371 from penpot/niwinz-staging-bugfix-6

🐛 Fix timeout error on large binfile import
This commit is contained in:
Alejandro 2024-04-08 10:56:59 +02:00 committed by GitHub
commit b836e8c5ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,11 +72,11 @@
;; are not very friendly with virtual threads, and for avoid
;; unexpected blocking of other concurrent operations we
;; dispatch that operation to a dedicated executor.
(let [result (px/submit! executor (partial bf.v1/import-files! cfg input))]
(let [result (px/invoke! executor (partial bf.v1/import-files! cfg input))]
(db/update! conn :project
{:modified-at (dt/now)}
{:id project-id})
(deref result)))))
result))))
(def ^:private
schema:import-binfile