Skip to content

log NetSuite transaction update after completion#8

Merged
briskt merged 1 commit intomainfrom
log-after-update
Feb 2, 2026
Merged

log NetSuite transaction update after completion#8
briskt merged 1 commit intomainfrom
log-after-update

Conversation

@briskt
Copy link
Contributor

@briskt briskt commented Feb 2, 2026

Changed

  • Emit a log message after completion of a NetSuite transaction update, not before.

@briskt briskt requested a review from a team as a code owner February 2, 2026 03:18
@briskt briskt requested review from ethancanne, hobbitronics and jason-jackson and removed request for a team February 2, 2026 03:18
// MaxConcurrent sets the number of concurrent transaction updates. Setting higher than 5 may cause a concurrency
// limit error: "Concurrent request limit exceeded. Request blocked. Verify your concurrency limits at Setup >
// Integration > Integration Management > Integration Governance."
const MaxConcurrent = 5

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this referenced?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the first line of MarkTransactionsSent, a channel list is created to manage the goroutines.

func MarkTransactionsSent(ctx context.Context, transactions []Transaction, cfg Config) error {
	sem := make(chan struct{}, min(len(transactions), MaxConcurrent))

@briskt briskt merged commit e40d030 into main Feb 2, 2026
1 check passed
@briskt briskt deleted the log-after-update branch February 2, 2026 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants