Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: make per-thread QueueBackpressure objects global #4482

Merged
merged 1 commit into from
Jan 20, 2025
Merged

chore: make per-thread QueueBackpressure objects global #4482

merged 1 commit into from
Jan 20, 2025

Conversation

romange
Copy link
Collaborator

@romange romange commented Jan 20, 2025

Before this PR, QueueBackpressure objects are in fact referenced from other threads in an awkward way via Connection::WeakRef::EnsureMemoryBudget().

This PR removes the complexities of accessing these objects from foreigh threads.

Before this PR, QueueBackpressure objects are in fact referenced from other threads in an awkward way via
Connection::WeakRef::EnsureMemoryBudget().

This PR removes the complexities of accessing these objects from foreigh threads.
@romange romange requested a review from BorysTheDev January 20, 2025 09:31
@romange romange merged commit d2209d9 into main Jan 20, 2025
9 checks passed
@romange romange deleted the Pr1 branch January 20, 2025 10:53
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