feat: proactive Gmail token refresh, GmailAuthError, improved logging
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/2bcd611e-3598-4b83-95bd-3276a7d5ad7c Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d00523f5ba
commit
992e157f02
@@ -43,6 +43,10 @@ celery_app.conf.beat_schedule = {
|
||||
minute="*"
|
||||
), # Every minute (per-account interval gates actual work)
|
||||
},
|
||||
"refresh-gmail-tokens": {
|
||||
"task": "app.workers.tasks.refresh_gmail_tokens",
|
||||
"schedule": crontab(minute="*/45"), # Every 45 minutes
|
||||
},
|
||||
"cleanup-old-logs": {
|
||||
"task": "app.workers.tasks.cleanup_old_logs",
|
||||
"schedule": crontab(hour=3, minute=0), # Daily at 3 AM
|
||||
|
||||
Reference in New Issue
Block a user