MurmurationsNetwork / MurmurationsServices

Index, Library and other microservices that implement the Murmurations protocol
https://docs.murmurations.network/developers/index-api.html
GNU General Public License v3.0
7 stars 3 forks source link

Retry KVM fetcher in dataproxyupdater before throwing error #725

Closed geoffturk closed 5 months ago

geoffturk commented 5 months ago

Maybe try again in 2 mins, 4 mins, etc. until the request is fulfilled.

Log failures in the general log, but then log success once it is back online again and pulling data from the KVM API.

geoffturk commented 4 months ago

If KVM fetcher fails and there is an API connection error, mark as failed but try again in the next scheduled run. When dataproxyupdater finally successfully fetches from KVM API, remove error status (set to false) from monitoring page: https://test-data-proxy.murmurations.network/v1/health/karte_von_morgen-v1.0.0