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

Reduce blobs lookup min wait time to 0 #8864

Merged
merged 2 commits into from
Nov 29, 2024
Merged

Conversation

tbenr
Copy link
Contributor

@tbenr tbenr commented Nov 29, 2024

Now that we have decent getBlobs support, we can lookup blobs faster when the block shows up close to 4s boundary

related to #8796

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

@@ -93,7 +93,7 @@ public class BlockBlobSidecarsTrackersPoolImpl extends AbstractIgnoringFutureHis
static final String GAUGE_BLOB_SIDECARS_TRACKERS_LABEL = "blob_sidecars_trackers";

static final UInt64 MAX_WAIT_RELATIVE_TO_ATT_DUE_MILLIS = UInt64.valueOf(1500);
static final UInt64 MIN_WAIT_MILLIS = UInt64.valueOf(500);
static final UInt64 MIN_WAIT_MILLIS = UInt64.valueOf(0);
Copy link
Contributor

Choose a reason for hiding this comment

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

i'd probably use UINT64.ZERO

Copy link
Contributor Author

Choose a reason for hiding this comment

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

haha I can but bad code even on a constant value change 🥲

@tbenr tbenr enabled auto-merge (squash) November 29, 2024 21:03
@tbenr tbenr merged commit 809ea98 into Consensys:master Nov 29, 2024
17 checks passed
tbenr added a commit to tbenr/teku that referenced this pull request Dec 11, 2024
tbenr added a commit that referenced this pull request Dec 11, 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