You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ab6b400
Browse filesBrowse the repository at this point in the historyBrowse files
chore(trigger): fix queues that never serialized and schedule missing self-hosted crons (#8715)
* chore(trigger): tighten task limits, fix queues that never serialized, schedule missing self-hosted crons
* refactor(trigger): derive the fork ceiling from STALE_ACTIVE_MS and trim sizing comments
* chore(trigger): drop caps whose work grows with user data or that lose cleanup on kill
* chore(trigger): keep unbounded-fan-out tasks on the global ceiling; bump chart for new cronjobs
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/self-hosting/background-jobs.mdx
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,11 +48,13 @@ Point cron at an **internal** address where possible (the in-cluster Service, or
48
48
| Outbox processing |`/api/webhooks/outbox/process`|`*/1 * * * *`| Transactional-outbox retries for billing, membership, enterprise issuance, and workflow-deployment side effects |
49
49
| Workspace file search dispatch |`/api/cron/workspace-file-search-dispatch`|`*/1 * * * *`| Dispatches indexing work for workspace file search |
50
50
| Knowledge projection |`/api/cron/knowledge-projection`|`*/1 * * * *`| Brings knowledge base search up to date with document, permission, and chunk changes |
51
+
| Table row-change fold |`/api/cron/fold-table-row-changes`|`*/1 * * * *`| Folds the table row-change log into each table's stored row count and version |
| Stale execution cleanup |`/api/cron/cleanup-stale-executions`|`*/30 * * * *`| Fails runs whose worker died without finishing — workflow executions, background jobs, table jobs and table runs — so they stop showing as running |
56
58
| OAuth token cleanup |`/api/cron/cleanup-oauth-tokens`|`0 * * * *`| Deletes access and refresh tokens after the retention tail |
| Idempotency key cleanup |`/api/webhooks/cleanup/idempotency`|`0 5 * * *`| Deletes deduplication records older than seven days |
64
67
65
68
<Callouttype="info">
66
69
**Subscription renewal** covers Microsoft Teams chat triggers, whose Microsoft Graph subscriptions are hard-capped at about three days. Without it, Teams triggers work for a couple of days and then quietly stop. Gmail, Outlook, Drive, Calendar, and Sheets triggers are **polled** instead — they depend on the per-minute poll jobs above, not on this one.
0 commit comments