mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine comments.
This commit is contained in:
parent
8b64ebe901
commit
79f090cc8f
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue