- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for LogOnceIf (0.14 sec)
-
internal/kms/kes.go
cacheDuration, err := env.GetDuration(EnvKESKeyCacheInterval, defaultCacheDuration) if err != nil { logger.LogOnceIf(ctx, fmt.Errorf("%s, using default of 10s", err.Error()), "refresh-kms-master-key") cacheDuration = defaultCacheDuration } if cacheDuration < time.Second { logger.LogOnceIf(ctx, errors.New("cache duration is less than 1s, using default of 10s"), "refresh-kms-master-key") cacheDuration = defaultCacheDuration
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 16 15:43:39 GMT 2024 - 14.9K bytes - Viewed (0)