Stop client and report an error if station update failed (due to gps or network problems) for a significant amount of time
Stop the client with an error message if the job update failed more than X times (e.g. due to bad gps or due to network problems).
Allow users to see when their station is broken due to gps or network problems. Right now GPS errors manifest themself in repeated messages like WARNING - Execution of job "get_jobs [..] skipped
; network problems probably manifest in repeated messages like An error occurred trying to GET observation jobs from network
(scheduler/tasks.py#L200).
- Add a new configuration field
SATNOGS_STATION_UPDATE_MAX_RETRIES
. (default tbd, maybe 5 times?) - Add a listener for apscheduler.JobReleased. When called, keep track of how many times the job
get_jobs
has failed or was skipped. If this is larger than allowed, terminate client with a helpful error message.