Skip to content

Increase MAX_QUEUED_PACKAGES to 100,000 - #21

Merged
liam-lloyd merged 1 commit into
mainfrom
noissue_increase_max_queued_packages
Aug 7, 2026
Merged

liam-lloyd merged 1 commit into
mainfrom
noissue_increase_max_queued_packages

Conversation

@liam-lloyd

Copy link
Copy Markdown
Member

Currently, the MCPServer allows only 4,096 packages to exist in its queue. We sometimes see uploads of as many as ~10,000 packages, which will cause the queue to fill up and subsequent packages to not be processed. This commit fixes that problem by raising the queue limit to 100,000, which is about twice the largest number of uploads we've seen in a single day in the past several years. Items on the queue are quite small, so even 100,000 of them should not cause memory issues.

Currently, the MCPServer allows only 4,096 packages to exist in its
queue. We sometimes see uploads of as many as ~10,000 packages, which
will cause the queue to fill up and subsequent packages to not be
processed. This commit fixes that problem by raising the queue limit to
100,000, which is about twice the largest number of uploads we've seen
in a single day in the past several years. Items on the queue are quite
small, so even 100,000 of them should not cause memory issues.
@liam-lloyd
liam-lloyd merged commit d06d88e into main Aug 7, 2026
12 checks passed
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