1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refine comments.

This commit is contained in:
winlin 2024-09-05 18:17:06 +08:00
parent 8b64ebe901
commit 79f090cc8f

View file

@ -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 {