Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cacheDuration (0.2 sec)

  1. internal/kms/kes.go

    	ctx := context.Background()
    
    	defaultCacheDuration := 10 * time.Second
    	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 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top