Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,113 for Forever (0.54 sec)

  1. cluster/addons/calico-policy-controller/calico-node-daemonset.yaml

                    }
                - name: KUBERNETES_NODE_NAME
                  valueFrom:
                    fieldRef:
                      fieldPath: spec.nodeName
                # Prevents the container from sleeping forever.
                - name: SLEEP
                  value: "false"
              volumeMounts:
                - mountPath: /host/opt/cni/bin
                  name: cni-bin-dir
                - mountPath: /host/etc/cni/net.d
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 25 12:18:44 UTC 2021
    - 6K bytes
    - Viewed (0)
  2. pkg/ledger/smt_test.go

    	// Add data to empty trie
    	keys := getFreshData(10)
    	values := getFreshData(10)
    	_, err := smt.Update(keys, values)
    	assert.NoError(t, err)
    	smt.db.updatedNodes = byteCache{cache: cache.NewTTL(forever, time.Minute)}
    	smt.loadDefaultHashes()
    
    	// Check errors are raised is a keys is not in cache nor db
    	for _, key := range keys {
    		_, err := smt.Get(key)
    		assert.Error(t, err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. pkg/kubelet/config/file_linux.go

    }
    
    func (e *retryableError) Error() string {
    	return e.message
    }
    
    func (s *sourceFile) startWatch() {
    	backOff := flowcontrol.NewBackOff(retryPeriod, maxRetryPeriod)
    	backOffID := "watch"
    
    	go wait.Forever(func() {
    		if backOff.IsInBackOffSinceUpdate(backOffID, time.Now()) {
    			return
    		}
    
    		if err := s.doWatch(); err != nil {
    			klog.ErrorS(err, "Unable to read config path", "path", s.path)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 17:27:26 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/watch/streamwatcher.go

    		// so nonbuffered is better.
    		result: make(chan Event),
    		// If the watcher is externally stopped there is no receiver anymore
    		// and the send operations on the result channel, especially the
    		// error reporting might block forever.
    		// Therefore a dedicated stop channel is used to resolve this blocking.
    		done: make(chan struct{}),
    	}
    	go sw.receive()
    	return sw
    }
    
    // ResultChan implements Interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 06 13:42:59 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  5. pkg/ledger/smt.go

    	atomicUpdate bool
    }
    
    // this is the closest time.Duration comes to Forever, with a duration of ~145 years
    // we can'tree use int64 max because the duration gets added to Now(), and the ints
    // rollover, causing an immediate expiration (ironic, eh?)
    const forever time.Duration = 1<<(63-1) - 1
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 14K bytes
    - Viewed (0)
  6. test/stress/runstress.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The runstress tool stresses the runtime.
    //
    // It runs forever and should never fail. It tries to stress the garbage collector,
    // maps, channels, the network, and everything else provided by the runtime.
    package main
    
    import (
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"math/rand"
    	"net"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. cluster/gce/gci/configure.sh

          echo "Bailing out." >&2
          exit 2
          ;;
      esac
    }
    
    # Retries a command forever with a delay between retries.
    # Args:
    #  $1    : delay between retries, in seconds.
    #  $2... : the command to run.
    function retry-forever {
      local -r delay="$1"
      shift 1
    
      until "$@"; do
        echo "== $* failed, retrying after ${delay}s"
        sleep "${delay}"
      done
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  8. src/context/x_test.go

    	})
    	if !ok {
    		t.Fatal("DeadlineExceeded does not support Timeout interface")
    	}
    	if !i.Timeout() {
    		t.Fatal("wrong value for timeout")
    	}
    }
    func TestCause(t *testing.T) {
    	var (
    		forever       = 1e6 * time.Second
    		parentCause   = fmt.Errorf("parentCause")
    		childCause    = fmt.Errorf("childCause")
    		tooSlow       = fmt.Errorf("tooSlow")
    		finishedEarly = fmt.Errorf("finishedEarly")
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. src/net/dial_test.go

    			}
    
    			primaries := makeAddrs(tt.primaries, "80")
    			fallbacks := makeAddrs(tt.fallbacks, "80")
    			d := Dialer{
    				FallbackDelay: fallbackDelay,
    			}
    			const forever = 60 * time.Minute
    			if tt.expectElapsed == instant {
    				d.FallbackDelay = forever
    			}
    			startTime := time.Now()
    			sd := &sysDialer{
    				Dialer:          d,
    				network:         "tcp",
    				address:         "?",
    				testHookDialTCP: dialTCP,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. internal/grid/connection_test.go

    		localServer.Close()
    		remote.debugMsg(debugWaitForExit)
    		local.debugMsg(debugWaitForExit)
    	}()
    
    	cleanReqs := make(chan struct{})
    	gotCall := make(chan struct{})
    	defer close(cleanReqs)
    	// 1: Block forever
    	h1 := func(payload []byte) ([]byte, *RemoteErr) {
    		gotCall <- struct{}{}
    		<-cleanReqs
    		return nil, nil
    	}
    	// 2: Also block, but with streaming.
    	h2 := StreamHandler{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top