Skip to content

Chain account integrations via queueables#1

Draft
Paritoshkumar148 wants to merge 1 commit into
mainfrom
cursor/chain-account-integrations-via-queueables-666a
Draft

Chain account integrations via queueables#1
Paritoshkumar148 wants to merge 1 commit into
mainfrom
cursor/chain-account-integrations-via-queueables-666a

Conversation

@Paritoshkumar148
Copy link
Copy Markdown
Owner

Refactor AccountIntegrationService to use a single, consolidated Queueable to prevent "too many queueable jobs" errors caused by cascading asynchronous calls.

The previous implementation created a chain of multiple queueable jobs, which, combined with the batch processing of child accounts, led to an exponential increase in enqueued jobs, exceeding Salesforce governor limits. The refactored solution consolidates the sequential integration steps into one queueable and ensures child processing is handled without re-triggering the main queueable chain.


Open in Cursor Open in Web

Co-authored-by: kumarparitosh148 <kumarparitosh148@gmail.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Aug 12, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants