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:
root
2025-10-23 12:49:45 +00:00
parent 0d758b07ea
commit 48ce8d8e73
2 changed files with 8 additions and 1 deletions

View File

@@ -5,4 +5,5 @@ requests
redis
python-dotenv
google-api-python-client
google-auth
google-auth
backoff