Open xeruf opened 2 years ago
Yes that's right. It will retry loading up to three times (which is currently hard-coded). Between retry requests, there will be a pause of increasing time.
The relevant code is in module overpass-frontend. You can configure the options with the parameter 'overpassOptions' in OpenStreetBrowser's conf.php.
Here are the relevant options in overpass-frontend: https://github.com/plepe/overpass-frontend/blob/master/src/OverpassFrontend.js#L81
What should be added is a notification to the user, that the request has been blocked and will be retried. Any ideas how this could be displayed? Maybe some status indicator somewhere?
maybe replace the spinner by red text with the error code?
It keeps on retrying, despite being rejected with "Too many requests"