Skip to content

Commit

Permalink
Refine comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Sep 9, 2024
1 parent 8b64ebe commit 79f090c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/srs.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func (v *srsMemoryLoadBalancer) Pick(ctx context.Context, streamURL string) (*SR
return server, nil
}

// Gather all servers, alive in 60s ago.
// Gather all servers that were alive within the last few seconds.
var servers []*SRSServer
v.servers.Range(func(key string, server *SRSServer) bool {
if time.Since(server.UpdatedAt) < srsServerAliveDuration {
Expand Down

0 comments on commit 79f090c

Please sign in to comment.