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

feat(pubsub): set channel size #602

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

yash-atreya
Copy link
Member

Motivation

The channel_size for the pubsub frontend defaulted to 16 with no way to set from the RpcClient level.

Solution

Change channel_size: usize to channel_size: AtomicUsize in Pubsub<Frontend> and add setter method in RpcClientInner<PubsubFrontend>

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@prestwich prestwich merged commit f2e14f7 into alloy-rs:main Apr 23, 2024
18 checks passed
ben186 pushed a commit to ben186/alloy that referenced this pull request Jul 27, 2024
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