Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 210 for Hour (0.1 sec)

  1. src/crypto/tls/common.go

    	// resume a client connection.
    	ticketKeyLifetime = 7 * 24 * time.Hour // 7 days
    
    	// ticketKeyRotation is how often the server should rotate the session ticket key
    	// that is used for new tickets.
    	ticketKeyRotation = 24 * time.Hour
    )
    
    // ticketKey is the internal representation of a session ticket key.
    type ticketKey struct {
    	aesKey  [16]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  2. pkg/proxy/iptables/proxier.go

    	// We need to pass *some* maxInterval to NewBoundedFrequencyRunner anyway though.
    	// time.Hour is arbitrary.
    	proxier.syncRunner = async.NewBoundedFrequencyRunner("sync-runner", proxier.syncProxyRules, minSyncPeriod, time.Hour, burstSyncs)
    
    	go ipt.Monitor(kubeProxyCanaryChain, []utiliptables.Table{utiliptables.TableMangle, utiliptables.TableNAT, utiliptables.TableFilter},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  3. pilot/pkg/model/sidecar_test.go

    		convertIstioListenerToWrapper(ps, "default", istioListener)
    	}
    }
    
    func TestComputeWildcardHostVirtualServiceIndex(t *testing.T) {
    	oldestTime := time.Now().Add(-2 * time.Hour)
    	olderTime := time.Now().Add(-1 * time.Hour)
    	newerTime := time.Now()
    	virtualServices := []config.Config{
    		{
    			Meta: config.Meta{
    				Name:              "foo",
    				Namespace:         "default",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    func (m *batchJobMetrics) purgeJobMetrics() {
    	t := time.NewTicker(6 * time.Hour)
    	defer t.Stop()
    
    	for {
    		select {
    		case <-GlobalContext.Done():
    			return
    		case <-t.C:
    			var toDeleteJobMetrics []string
    			m.RLock()
    			for id, metrics := range m.metrics {
    				if time.Since(metrics.LastUpdate) > 24*time.Hour && (metrics.Complete || metrics.Failed) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    		},
    		{
    			name:        "previous state expired but key ID matches",
    			service:     &testKMSv2EnvelopeService{err: fmt.Errorf("broken")}, // not called
    			state:       validState(t, "3", now.Add(-time.Hour), false),
    			statusKeyID: "3",
    			wantState: envelopekmsv2.State{
    				EncryptedObject:     kmstypes.EncryptedObject{KeyID: "3"},
    				ExpirationTimestamp: now.Add(3 * time.Minute),
    			},
    			wantEncryptCalls: 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  6. src/net/http/client_test.go

    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		w.(Flusher).Flush()
    		<-testDone
    	}))
    	defer close(testDone)
    
    	cst.c.Timeout = 1 * time.Hour
    	req, _ := NewRequest("GET", cst.ts.URL, nil)
    	req.Cancel = ctx.Done()
    	res, err := cst.c.Do(req)
    	if err != nil {
    		t.Fatal(err)
    	}
    	cancel()
    	_, err = io.Copy(io.Discard, res.Body)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    }
    
    // TestSeatSecondsRollover checks that there is not a problem with SeatSeconds overflow.
    func TestSeatSecondsRollover(t *testing.T) {
    	metrics.Register()
    	now := time.Now()
    
    	const Quarter = 91 * 24 * time.Hour
    
    	clk, counter := testeventclock.NewFake(now, 0, nil)
    	qsf := newTestableQueueSetFactory(clk, countingPromiseFactoryFactory(counter))
    	qCfg := fq.QueuingConfig{
    		Name:             "TestSeatSecondsRollover",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go

    	ctx := t.TestContext()
    
    	foo := obj.DeepCopyObject()
    	t.setObjectMeta(foo, t.namer(6))
    	if err := createFn(ctx, foo); err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    	bigGrace := int64(time.Hour)
    	if expectedGrace > bigGrace {
    		bigGrace = 2 * expectedGrace
    	}
    	objectMeta := t.getObjectMetaOrFail(foo)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  9. src/net/http/fs_test.go

    	}
    	res.Body.Close()
    
    	// Advance the index.html file's modtime, but not the directory's.
    	indexFile.modtime = indexFile.modtime.Add(1 * time.Hour)
    
    	res, err = c.Do(req)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if res.StatusCode != 200 {
    		t.Fatalf("Code after second If-Modified-Since request = %v; want 200; res is %#v", res.StatusCode, res)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top