🐛 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:
Andrey Antukh 2026-08-07 13:37:00 +02:00 committed by GitHub
parent bf9825fcfe
commit e2d429d283
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 %))))