Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With larger periods, the script would regularly hit the quota limit of the free tier and abort with an HttpError exception and status code 403. It seems this can be mitigated by setting a `num_retries`, which includes an exponential backoff mechanism. From the [google-api-python-client docs](https://github.com/googleapis/google-api-python-client/blob/cbb1f88b82b21f5cb9dcace33ffea3f95a189015/googleapiclient/http.py#L882): > num_retries: Integer, number of times to retry with randomized > exponential backoff. If all retries fail, the raised HttpError > represents the last request. If zero (default), we attempt the > request only once.
- Loading branch information