Update app.min.js#302
Conversation
Added parse timeout 90 and 120 seconds
|
If I'm not mistaken, the standard response time is 1 minute, after which the server terminates the connection. And this won't work via JavaScript. But I could be wrong; I need to find out first. |
|
You set the request timeout yourself: network$2.timeout(1000 * Storage.field('parse_timeout')). If the parser takes a long time to process it, an error message appears: torrent_error_connect. Set the wait time to 1 second and see for yourself... |
|
I understand that, but the parser is on the server, and a server like Nginx has a default maximum wait time of 60 seconds, after which it terminates the connection. The browser can also terminate the connection itself if it doesn't receive at least one byte within 60 seconds. This requires a special connection with a wait time, at least that's what the GPT chat told me :D |
|
I have Jackett installed on a Windows system with more than 70 indexers, and the browser, when requesting it, quietly waits for a response for a minute or more. Lampa breaks the connection due to timeout... |
|
Okay, I'll add it. For future reference, we need to do a PR on another branch, https://github.com/yumata/lampa-source |
Added parse timeout 90 and 120 seconds