Skip to content

Commit

Permalink
Roll back the purgeTime change to avoid excessive memory usage when t…
Browse files Browse the repository at this point in the history
…here are a large amount of idle connections.

PiperOrigin-RevId: 653234161
Change-Id: I7627b849e3b52bac9d1d3b07b347819ec3377928
  • Loading branch information
Sax Authors authored and copybara-github committed Jul 17, 2024
1 parent 0680894 commit 2a12db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saxml/client/go/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
const (
sleepTime = 5 * time.Second
fastPurgeTime = 10 * time.Second
purgeTime = 24 * time.Hour
purgeTime = 60 * time.Minute
dialTimeout = 2 * time.Second
)

Expand Down

0 comments on commit 2a12db6

Please sign in to comment.