Files
DeskcommCRM/vercel.json
T
Ian Couto e825a1a77b fix: no Pro da Vercel os crons de minuto passam a rodar
O follow-up ficava preso em waiting_reply porque so o cron diario de LGPD estava registrado. vercel.json na raiz agenda a mesma cadencia do scheduler, e o CRON_SECRET nativo deixa de tomar 403.
2026-09-13 10:01:24 -03:00

104 lines
2.3 KiB
JSON

{
"crons": [
{
"path": "/api/v1/cron/agent-dispatcher",
"schedule": "* * * * *"
},
{
"path": "/api/v1/cron/followup-flow-worker",
"schedule": "* * * * *"
},
{
"path": "/api/v1/cron/event-log-drain",
"schedule": "* * * * *"
},
{
"path": "/api/v1/cron/routing-worker",
"schedule": "* * * * *"
},
{
"path": "/api/v1/cron/recover-stuck-messages",
"schedule": "* * * * *"
},
{
"path": "/api/v1/cron/storage-redaction",
"schedule": "*/5 * * * *"
},
{
"path": "/api/v1/cron/snooze-watcher",
"schedule": "*/5 * * * *"
},
{
"path": "/api/v1/cron/attendant-heartbeat",
"schedule": "*/5 * * * *"
},
{
"path": "/api/v1/cron/webhook-log-retention",
"schedule": "*/5 * * * *"
},
{
"path": "/api/v1/cron/channel-health",
"schedule": "*/5 * * * *"
},
{
"path": "/api/v1/cron/agenda-google-push",
"schedule": "*/5 * * * *"
},
{
"path": "/api/v1/cron/agenda-reminder",
"schedule": "*/5 * * * *"
},
{
"path": "/api/v1/cron/contact-avatars",
"schedule": "*/10 * * * *"
},
{
"path": "/api/v1/cron/agenda-google-refresh",
"schedule": "*/10 * * * *"
},
{
"path": "/api/v1/cron/agenda-google-sync",
"schedule": "*/15 * * * *"
},
{
"path": "/api/v1/cron/risk-watcher",
"schedule": "*/15 * * * *"
},
{
"path": "/api/v1/cron/contact-phones",
"schedule": "*/30 * * * *"
},
{
"path": "/api/v1/cron/contact-proposals-watcher",
"schedule": "17 * * * *"
},
{
"path": "/api/v1/cron/lgpd-sla-watcher",
"schedule": "0 12 * * *"
},
{
"path": "/api/v1/cron/kb-conversations-batch",
"schedule": "30 3 * * *"
},
{
"path": "/api/v1/cron/sync-model-catalog",
"schedule": "15 4 * * *"
},
{
"path": "/api/v1/cron/data-retention",
"schedule": "40 4 * * *"
}
],
"functions": {
"app/api/v1/cron/**/route.ts": {
"maxDuration": 120
},
"app/api/v1/system/relogio/tick/route.ts": {
"maxDuration": 60
},
"app/api/internal/agents/run/route.ts": {
"maxDuration": 300
}
}
}