Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for shutdownRes (0.14 sec)

  1. src/net/http/serve_test.go

    	var once sync.Once
    	statesRes := make(chan map[ConnState]int, 1)
    	shutdownRes := make(chan error, 1)
    	gotOnShutdown := make(chan struct{})
    	handler := HandlerFunc(func(w ResponseWriter, r *Request) {
    		first := false
    		once.Do(func() {
    			statesRes <- cst.ts.Config.ExportAllConnsByState()
    			go func() {
    				shutdownRes <- cst.ts.Config.Shutdown(context.Background())
    			}()
    			first = true
    		})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  2. pkg/kube/controllers/common.go

    	if e.DeleteFunc != nil {
    		e.DeleteFunc(Extract[T](obj))
    	}
    }
    
    var _ cache.ResourceEventHandler = EventHandler[Object]{}
    
    type Shutdowner interface {
    	ShutdownHandlers()
    }
    
    // ShutdownAll is a simple helper to shutdown all informers
    func ShutdownAll(s ...Shutdowner) {
    	for _, h := range s {
    		h.ShutdownHandlers()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 08:27:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. RELEASE.md

        not reload checkpoints for evaluation.
    *   `RunConfig` now sets device_filters to restrict how workers and PS can
        communicate. This can speed up training and ensure clean shutdowns in some
        situations. But if you have jobs that require communication between workers,
        you will have to set custom session_options in your `RunConfig`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top