mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
reduce startup delays on kubernetes (#16356)
This commit is contained in:
1 parent
b29e159604
commit
e0086c1be7
3 files changed
+51
-5
No files matched your search
+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