Add exponential backoff for Google API calls
- Use backoff library with 5s base, max 5 tries for HttpError 429/5xx - Decorate Google functions: ensure_calendar, fetch_events, create/update/delete events - Add backoff to requirements.txt
This commit is contained in:
@@ -5,4 +5,5 @@ requests
|
||||
redis
|
||||
python-dotenv
|
||||
google-api-python-client
|
||||
google-auth
|
||||
google-auth
|
||||
backoff
|
||||
Reference in New Issue
Block a user