mirror of
https://github.com/penpot/penpot.git
synced 2026-08-08 13:58:35 +00:00
🐛 Add timeout to plugin manifest fetch (#11120)
The fetch-manifest function previously had no timeout, causing the plugin installation flow to hang indefinitely if the server accepted the connection but never completed the response. Added a 15-second timeout using rx/timeout to abort the request automatically. Closes #11119 AI-assisted-by: qwen3.7-plus
This commit is contained in:
parent
bf9825fcfe
commit
e2d429d283
@ -39,6 +39,7 @@
|
||||
:uri plugin-url
|
||||
:omit-default-headers true
|
||||
:response-type :json})
|
||||
(rx/timeout 15000)
|
||||
(rx/map :body)
|
||||
(rx/map #(preg/parse-manifest plugin-url %))))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user