Skip to content

Commit

Permalink
wrap the comments within 80 cols
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaspeaks committed Mar 10, 2025
1 parent dc0ace7 commit bebde4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion balancer/rls/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ func parseRLSProto(rlsProto *rlspb.RouteLookupConfig) (*lbConfig, error) {
}

// Validations performed here:
// - if `max_age` > 5m, it should be set to 5 minutes only if stale age is not set
// - if `max_age` > 5m, it should be set to 5 minutes
// only if stale age is not set
// - if `stale_age` > `max_age`, ignore it
// - if `stale_age` is set, then `max_age` must also be set
maxAgeSet := false
Expand Down

0 comments on commit bebde4c

Please sign in to comment.