Skip to content

rls: verify maxAge is clamped if staleAge is not set#12647

Merged
shivaspeaks merged 1 commit into
grpc:masterfrom
shivaspeaks:rls-clampMaxAgeIfStaleAgeMissing-test
Feb 5, 2026
Merged

rls: verify maxAge is clamped if staleAge is not set#12647
shivaspeaks merged 1 commit into
grpc:masterfrom
shivaspeaks:rls-clampMaxAgeIfStaleAgeMissing-test

Conversation

@shivaspeaks

Copy link
Copy Markdown
Member

Verify a case in #11931 that was missed to test:

// If staleAge is not set, clamp maxAge to <= 5.
if (staleAge == null && maxAge > MAX_AGE_NANOS) {
        maxAge = MAX_AGE_NANOS;
}

@shivaspeaks shivaspeaks merged commit a5b7192 into grpc:master Feb 5, 2026
17 checks passed
jdcormie pushed a commit to jdcormie/grpc-java that referenced this pull request Feb 11, 2026
AgraVator pushed a commit to AgraVator/grpc-java that referenced this pull request Feb 25, 2026
@shivaspeaks shivaspeaks deleted the rls-clampMaxAgeIfStaleAgeMissing-test branch March 25, 2026 17:03
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants