You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code constantly performs new HTTP API calls even if they have failed. There seems to be no time in between requests and this essential performs an denial of service to the API. This has been observed using the web interface (meshtastic/web#361). At first sight on the code, there should be a delay / fetch interval but I did not observe such a delay in the browser app.
There should be some delay after failed request, ideally an exponential backoff and maybe even treat 4xx and 5xx differently. For 4xx response codes it is unlikely that retrying will help anything, so connection should stop. For 5xx response codes the API call can be retried after some backoff
Relevant console output
No response
The text was updated successfully, but these errors were encountered:
Hardware
Not Applicable
Connection Type
HTTP
Firmware Version
Description
The code constantly performs new HTTP API calls even if they have failed. There seems to be no time in between requests and this essential performs an denial of service to the API. This has been observed using the web interface (meshtastic/web#361). At first sight on the code, there should be a delay / fetch interval but I did not observe such a delay in the browser app.
There should be some delay after failed request, ideally an exponential backoff and maybe even treat 4xx and 5xx differently. For 4xx response codes it is unlikely that retrying will help anything, so connection should stop. For 5xx response codes the API call can be retried after some backoff
Relevant console output
No response
The text was updated successfully, but these errors were encountered: