Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for goroutines (0.16 sec)

  1. src/os/exec.go

    // specified by name, argv and attr. The argv slice will become [os.Args] in the
    // new process, so it normally starts with the program name.
    //
    // If the calling goroutine has locked the operating system thread
    // with [runtime.LockOSThread] and modified any inheritable OS-level
    // thread state (for example, Linux or Plan 9 name spaces), the new
    // process will inherit the caller's thread state.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/istio_ca.go

    		s.initCACertsWatcher()
    	}
    	istioCA, err := ca.NewIstioCA(caOpts)
    	if err != nil {
    		return nil, fmt.Errorf("failed to create an istiod CA: %v", err)
    	}
    
    	// Start root cert rotator in a separate goroutine.
    	istioCA.Run(s.internalStop)
    	return istioCA, nil
    }
    
    func (s *Server) createSelfSignedCACertificateOptions(fileBundle *ca.SigningCAFileBundle, opts *caOptions) (*ca.IstioCAOptions, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. pkg/controller/podgc/gc_controller_test.go

    			if len(deletedPodNames) > 0 {
    				t.Errorf("no pods should be deleted at this point.\n\tactual: %v", deletedPodNames)
    			}
    
    			// Move clock forward
    			fakeClock.Step(test.delay)
    			// Wait for queue goroutine to process items
    			if test.itemsInQueue > 0 {
    				err := waitForAdded(gcc.nodeQueue, test.itemsInQueue)
    				if err != nil {
    					t.Errorf("wrong number of items in the node queue.\n\texpected: %v\n\tactual: %v",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/list.md

    | `minio_node_file_descriptor_open_total`    | Total number of open file descriptors by the MinIO Server process.                                              |
    | `minio_node_go_routine_total`              | Total number of go routines running.                                                                            |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	// satisfied (w.resourceVersion is never negative), this call will
    	// never hit the w.cond.Wait().
    	// As a result - we can optimize the code by not firing the wakeup
    	// function (and avoid starting a gorotuine), especially given that
    	// resourceVersion=0 is the most common case.
    	if resourceVersion > 0 {
    		go func() {
    			// Wake us up when the time limit has expired.  The docs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_test.go

    	// housekeeping routine. This test registers the pod, removes the unwanted pod, then calls into
    	// HandlePodCleanups a few more times. We should only see one Destroy() event. podKiller runs
    	// within a goroutine so a two second delay should be enough time to
    	// mark the pod as killed (within this test case).
    
    	kubelet.HandlePodCleanups(ctx)
    
    	// assert that unwanted pods were killed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    				globalLocalSetDrives[endpoint.PoolIdx][endpoint.SetIdx][endpoint.DiskIdx] = storage
    				return true
    			}
    
    			if createStorage(endpoint) {
    				continue
    			}
    
    			// Start async goroutine to create storage.
    			go func(endpoint Endpoint) {
    				for {
    					time.Sleep(3 * time.Second)
    					if createStorage(endpoint) {
    						return
    					}
    				}
    			}(endpoint)
    
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  8. pkg/proxy/nftables/proxier.go

    		proxier.healthzServer.QueuedUpdate(proxier.ipFamily)
    	}
    	metrics.SyncProxyRulesLastQueuedTimestamp.SetToCurrentTime()
    	proxier.syncRunner.Run()
    }
    
    // SyncLoop runs periodic work.  This is expected to run as a goroutine or as the main loop of the app.  It does not return.
    func (proxier *Proxier) SyncLoop() {
    	// Update healthz timestamp at beginning in case Sync() never succeeds.
    	if proxier.healthzServer != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    			return nil
    		})
    	})
    
    	readDirFn(pathJoin(drivePath, minioMetaTmpBucket), func(tmpDir string, typ os.FileMode) error {
    		if strings.HasPrefix(tmpDir, ".trash") {
    			// do not remove .trash/ here, it has its own routines
    			return nil
    		}
    		vi, err := disk.StatVol(ctx, pathJoin(minioMetaTmpBucket, tmpDir))
    		if err != nil {
    			return nil
    		}
    		w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	// the following conditions:
    	// 1) in total we create 11 events that has to be processed by the watcher
    	// 2) the size of the channels are set to 10 for the watcher
    	// 3) if the test is cpu-starved and the internal goroutine is not picking
    	//    up these events from the channel, after consuming the whole time
    	//    budget (defaulted to 100ms) on waiting, we will simply close the watch,
    	//    which will cause the test failure
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
Back to top