Skip to content

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

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

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

Conversation

@shivaspeaks
Copy link
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants