Skip to content

Do various small timeout-related improvements#1908

Open
stIncMale wants to merge 1 commit intomongodb:mainfrom
stIncMale:miscTimeoutImprovements
Open

Do various small timeout-related improvements#1908
stIncMale wants to merge 1 commit intomongodb:mainfrom
stIncMale:miscTimeoutImprovements

Conversation

@stIncMale
Copy link
Member

No description provided.

private static final int NO_ROUND_TRIP_TIME_MS = 0;
private final TimeoutSettings timeoutSettings;
/**
* Is {@code null} iff {@link #timeoutSettings}{@code .}{@link TimeoutSettings#getTimeoutMS() getTimeoutMS()} is {@code null}.
Copy link
Member

Choose a reason for hiding this comment

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

This seems hard to understand / read. As we don't publish this as API docs would

Is {@code null} iff {@link #timeoutSettings} is {@code null}.

Suffice? Or is there some way to get the IntelliJ to display as javadoc by default rather than text?

Copy link
Member

@rozza rozza left a comment

Choose a reason for hiding this comment

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

One question about readability - but not a blocker.

LGTM

@rozza rozza removed the request for review from vbabanin March 11, 2026 11: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