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

bump default observation channel capacity for execution time observer #21551

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

aschran
Copy link
Contributor

@aschran aschran commented Mar 20, 2025


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

@aschran aschran requested a review from mystenmark March 20, 2025 15:11
Copy link

vercel bot commented Mar 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2025 3:13pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Mar 20, 2025 3:13pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Mar 20, 2025 3:13pm

@@ -268,7 +268,7 @@ pub struct ExecutionTimeObserverConfig {
impl ExecutionTimeObserverConfig {
pub fn observation_channel_capacity(&self) -> NonZeroUsize {
self.observation_channel_capacity
.unwrap_or(nonzero!(128usize))
.unwrap_or(nonzero!(1_024usize))
Copy link
Contributor

Choose a reason for hiding this comment

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

i find 1_024 to be the weirdest looking thing i've ever seen, but that can be a me problem 😂

@aschran aschran merged commit 631ee21 into main Mar 20, 2025
47 checks passed
@aschran aschran deleted the aschran/cc-channel-config branch March 20, 2025 15:47
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