Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dashboard/app/coverage_batch.go: don't retry even on spot
When running on Spot VMs, our batch jobs can get preempted and restarted. For some reason, GCP sometimes starts multiple instances of the same job, which results in duplicate results in the DB. Prevent this by dropping MaxRetryCount. Even if a job fails for a specific day, the data for that day will be processed on the following day, so it does not get lost. If needed, we can manually trigger recalc using /cron/batch_coverage.
- Loading branch information