The update action has failed four times in the last month, even with the addition of retries for Overpass requests.
To improve reliability, it would be helpful to add the ability to specify the Overpass server to be used via environment variable. This would allow for the script to point to a self-hosted Overpass instance that would be less likely to experience outages due to traffic overload.
Implementation details:
- Add in loading of environment variables to script
- Use environment variable in call to
overpass.API with a fallback to the https://overpass-api.de/api/ server.
- Add logging or print message to confirm which overpass server is being called when the script runs
The update action has failed four times in the last month, even with the addition of retries for Overpass requests.
To improve reliability, it would be helpful to add the ability to specify the Overpass server to be used via environment variable. This would allow for the script to point to a self-hosted Overpass instance that would be less likely to experience outages due to traffic overload.
Implementation details:
overpass.APIwith a fallback to the https://overpass-api.de/api/ server.