Skip to content

feat(neon_framework): queue for request manager to limit parallel req…#3184

Open
vauvenal5 wants to merge 1 commit intonextcloud:mainfrom
vauvenal5:upstream/request-manager-queue
Open

feat(neon_framework): queue for request manager to limit parallel req…#3184
vauvenal5 wants to merge 1 commit intonextcloud:mainfrom
vauvenal5:upstream/request-manager-queue

Conversation

@vauvenal5
Copy link
Copy Markdown
Collaborator

@vauvenal5 vauvenal5 commented Mar 14, 2026

Closes #1124

Limits the amount of parallel requests to the server to not overload it with preview requests when opening a big gallery and scrolling through it.

…uests to server

Signed-off-by: vauvenal5 <vauvenal5.ndgme@slmails.com>
Comment on lines +84 to +91
await _requestQueue.add(() => _wrap(
account: account,
subject: subject,
getRequest: getRequest,
converter: converter,
unwrap: unwrap,
getCacheHeaders: getCacheHeaders,
));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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.

Use a queue for all requests in the request manager

2 participants