Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CheckInterval (0.16 sec)

  1. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        }
    
        @Override
        public Collection<Object> values() {
            return getProperties().values();
        }
    
        public void setCheckInterval(final long checkInterval) {
            this.checkInterval = checkInterval;
        }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

            def lastCleanupCheck = markCacheLastCleaned(originalCheckTime - TimeUnit.HOURS.toMillis(1))
            run()
    
            then:
            assertCacheWasNotCleanedUpSince(lastCleanupCheck)
    
            // checkInterval-1 hours is not enough to trigger
            when:
            def twentyThreeHoursAgo = originalCheckTime - TimeUnit.HOURS.toMillis(DefaultPersistentDirectoryStore.CLEANUP_INTERVAL_IN_HOURS - 1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. security/pkg/pki/ca/selfsignedcarootcertrotator.go

    	}
    	if config.enableJitter {
    		// Select a back off time in seconds, which is in the range of [0, rotator.config.CheckInterval).
    		randSource := rand.NewSource(time.Now().UnixNano())
    		randBackOff := rand.New(randSource)
    		backOffSeconds := int(time.Duration(randBackOff.Int63n(int64(rotator.config.CheckInterval))).Seconds())
    		rotator.backOffTime = time.Duration(backOffSeconds) * time.Second
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  4. security/pkg/pki/ca/selfsignedcarootcertrotator_test.go

    	if rotator0.backOffTime < time.Duration(0) {
    		t.Errorf("back off time should be zero or positive but got %v", rotator0.backOffTime)
    	}
    	if rotator0.backOffTime >= rotator0.config.CheckInterval {
    		t.Errorf("back off time should be shorter than rotation interval but got %v",
    			rotator0.backOffTime)
    	}
    
    	disableJitterOpts := getDefaultSelfSignedIstioCAOptions(nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 23:33:41 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  5. security/pkg/pki/ca/ca.go

    	caOpts = &IstioCAOptions{
    		CAType:         selfSignedCA,
    		DefaultCertTTL: defaultCertTTL,
    		MaxCertTTL:     maxCertTTL,
    		RotatorConfig: &SelfSignedCARootCertRotatorConfig{
    			CheckInterval:      rootCertCheckInverval,
    			caCertTTL:          caCertTTL,
    			retryInterval:      cmd.ReadSigningCertRetryInterval,
    			retryMax:           cmd.ReadSigningCertRetryMax,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  6. security/pkg/pki/ca/ca_test.go

    	rootCertCheckInverval := time.Duration(0)
    	caOpts := &IstioCAOptions{
    		DefaultCertTTL: time.Hour,
    		MaxCertTTL:     maxTTL,
    		KeyCertBundle:  bundle,
    		RotatorConfig: &SelfSignedCARootCertRotatorConfig{
    			CheckInterval: rootCertCheckInverval,
    		},
    	}
    
    	return NewIstioCA(caOpts)
    }
    
    func comparePem(expectedBytes []byte, file string) bool {
    	fileBytes, err := os.ReadFile(file)
    	if err != nil {
    		return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 08:51:27 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top