Skip to content

Conversation

ryanclark
Copy link
Contributor

Limit the concurrency of session processing to 5 at a time

@ryanclark ryanclark added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v18 labels Oct 15, 2025
@github-actions github-actions bot requested review from aadc-dev and tigrato October 15, 2025 15:26
maxThumbnails = 1000

// concurrencyLimit limits the number of concurrent processing operations.
concurrencyLimit = 5
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe 5 is a bit low, isn't it?

Copy link
Contributor

Choose a reason for hiding this comment

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

It definitely feels like we'd either want a metric (or a log message when it's blocked on acquiring a semaphore) to at least figure out if this is acting as a choke point in production. Do we have a rough idea of how long processing a session takes vs the length of the session?

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

Labels

backport/branch/v18 no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants