- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RetryPeriod (0.11 sec)
-
pkg/kubelet/config/file_linux.go
kubetypes "k8s.io/kubernetes/pkg/kubelet/types" ) const ( retryPeriod = 1 * time.Second maxRetryPeriod = 20 * time.Second ) type retryableError struct { message string } func (e *retryableError) Error() string { return e.message } func (s *sourceFile) startWatch() { backOff := flowcontrol.NewBackOff(retryPeriod, maxRetryPeriod) backOffID := "watch" go wait.Forever(func() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 17:27:26 UTC 2023 - 3.8K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection.go
Identity: l.name, }, } } config := k8sleaderelection.LeaderElectionConfig{ Lock: lock, LeaseDuration: l.ttl, RenewDeadline: l.ttl / 2, RetryPeriod: l.ttl / 4, Callbacks: callbacks, // When Pilot exits, the lease will be dropped. This is more likely to lead to a case where
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 9.7K bytes - Viewed (0)