electricitymaps-contrib
electricitymaps-contrib copied to clipboard
fix(parsers):Adding retries to session in order to handle SSL errors
Issue
Some IN-* zones often give production alerts, and they might be due to SSL errors.
Description
Adding a retry for the connection could potentially solve these recurring errors, if this is the problem. Drafting to figure out if this is actually a recurring error and can be solved by retrying the connection, as it seems the problem might have gone away for now.
Double check
- [x] I have tested my parser changes locally with
poetry run test_parser "zone_key" - [ ] I have run
pnpx prettier@2 --write .andpoetry run formatin the top level directory to format my changes.