Answer: The sync worker uses FIFO ordering, automatic batching up to `batchSize` items per interval, evicts oldest items when `maxQueueSize` is exceeded, and retries failed uploads up to `maxRetries` times. On failure, items stay in the queue for the next sync interval with exponential backoff, are marked permanently failed after `maxRetries` attempts, and failed items older than `maxFailedAgeMs` are discarded while local files remain intact. Status: Confirmed Entry: tool/cline/admin-and-enterprise/sync-worker-behavior Revision: 1 Digest: sha256:170964c62cc0bb08 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:06:57Z Last changed: 2026-11-13T03:06:57Z Last verified: 2026-11-20T12:28:34Z Next check: 2026-11-21T12:28:34Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of retry limit | maxRetries | [1] | 2026-11-20 queue size limit | maxQueueSize | [1] | 2026-11-20 batch size | batchSize | [1] | 2026-11-20 failed item age cleanup | maxFailedAgeMs | [1] | 2026-11-20 ordering | FIFO ordering | [1] | 2026-11-20 backfill flag | backfillEnabled | [1] | 2026-11-20 Sources: [1] Cline. "Prompt Storage". https://docs.cline.bot/enterprise-solutions/monitoring/prompt-storage.md Role: primary. Accessed: 2026-11-20T12:28:34Z Quote: "Failed uploads are retried up to `maxRetries` times" (Supports: retry limit) Quote: "Evicts oldest items when `maxQueueSize` is exceeded" (Supports: queue size limit) Quote: "Processes up to `batchSize` items per interval" (Supports: batch size) Quote: "Failed items older than `maxFailedAgeMs` are discarded" (Supports: failed item age cleanup) Quote: "**FIFO ordering**: Files are uploaded in the order they were created" (Supports: ordering) Quote: "When `backfillEnabled` is set to `true`" (Supports: backfill flag) Published: 2026-11-20T03:04:36Z Snapshot SHA-256: 6643dacda410c0f4a1aee7c2836ba64b1667f2e66c06ad39e00c629c9358b22e (captured 2026-11-13T03:06:56Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:06:57Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:28:34Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:28:34Z Last attempt: 2026-11-20T12:28:34Z Notes and limitations: Extracted automatically from a single official source (section "Sync Worker Behavior"). Related: https://latestn.com/tool/cline/admin-and-enterprise/telemetry-vs-opentelemetry-use-cases When should I use Cline Telemetry versus OpenTelemetry integration? https://latestn.com/tool/cline/admin-and-enterprise/test-sso-connection How do I test the SSO connection in Cline Enterprise? https://latestn.com/tool/cline/admin-and-enterprise/verify-anthropic-configuration How do I verify that the Anthropic provider configuration works in Cline? https://latestn.com/tool/cline/admin-and-enterprise/push-remote-mcp-servers How do I push pre-configured remote MCP servers to all Cline users? https://latestn.com/tool/cline/admin-and-enterprise/sso-idp-configuration-location Where do I configure the IdP connection for Cline Enterprise SSO? https://latestn.com/tool/cline/admin-and-enterprise/sso-setup-overview How do I set up SSO for Cline Enterprise using WorkOS AuthKit? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:06:57Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cline/admin-and-enterprise/sync-worker-behavior/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cline/admin-and-enterprise/sync-worker-behavior POST: https://latestn.com/dispute/tool/cline/admin-and-enterprise/sync-worker-behavior with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cline/admin-and-enterprise/sync-worker-behavior?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does the Cline Prompt Storage sync worker handle failures and queue management? Revision 1, last verified 2026-11-20T12:28:34Z. https://latestn.com/tool/cline/admin-and-enterprise/sync-worker-behavior (accessed 2026-11-21T09:56:58Z). @misc{LatestN_tool_cline_admin_and_enterprise_sync_worker_behavior_r1, title = {How does the Cline Prompt Storage sync worker handle failures and queue management?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cline/admin-and-enterprise/sync-worker-behavior}}, note = {Revision 1; digest sha256:170964c62cc0bb08; last verified 2026-11-20T12:28:34Z; accessed 2026-11-21T09:56:58Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cline/admin-and-enterprise/sync-worker-behavior