mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
reduce startup delays on kubernetes (#16356)
This commit is contained in:
+2
-1
@@ -117,7 +117,8 @@ func init() {
|
||||
go func() {
|
||||
var t *time.Ticker
|
||||
if containers {
|
||||
t = time.NewTicker(1 * time.Minute)
|
||||
// k8s DNS TTL is 30s (Attempt a refresh only after)
|
||||
t = time.NewTicker(30 * time.Second)
|
||||
} else {
|
||||
t = time.NewTicker(10 * time.Minute)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user