Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for shuttingDown (0.14 sec)

  1. pilot/pkg/xds/pushqueue_test.go

    							Name: fmt.Sprintf("%d", eds),
    						}),
    					})
    				}
    			}
    		}()
    
    		done := make(chan struct{})
    		mu := sync.RWMutex{}
    		go func() {
    			for {
    				con, info, shuttingdown := p.Dequeue()
    				if shuttingdown {
    					return
    				}
    				for eds := range model.ConfigNamesOfKind(info.ConfigsUpdated, kind.ServiceEntry) {
    					mu.Lock()
    					delete(expected, key(con, eds))
    					mu.Unlock()
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. pilot/pkg/xds/discovery.go

    			// This limits the number of pushes that can happen concurrently
    			semaphore <- struct{}{}
    
    			// Get the next proxy to push. This will block if there are no updates required.
    			client, push, shuttingdown := queue.Dequeue()
    			if shuttingdown {
    				return
    			}
    			recordPushTriggers(push.Reason)
    			// Signals that a push is done by reading from the semaphore, allowing another send on it.
    			doneFunc := func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/net/http/server.go

    	if s.ReadHeaderTimeout != 0 {
    		return s.ReadHeaderTimeout
    	}
    	return s.ReadTimeout
    }
    
    func (s *Server) doKeepAlives() bool {
    	return !s.disableKeepAlives.Load() && !s.shuttingDown()
    }
    
    func (s *Server) shuttingDown() bool {
    	return s.inShutdown.Load()
    }
    
    // SetKeepAlivesEnabled controls whether HTTP keep-alives are enabled.
    // By default, keep-alives are always enabled. Only very
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    		// this simulates a watch well enough for our test
    		signals := apirequest.ServerShutdownSignalFrom(req.Context())
    		if signals == nil {
    			w.WriteHeader(http.StatusInternalServerError)
    			return
    		}
    		<-signals.ShuttingDown()
    		w.WriteHeader(http.StatusOK)
    	})
    	s.Handler.NonGoRestfulMux.Handle("/apis/watches.group/v1/namespaces/foo/bar", handler)
    	return inflight
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  5. pkg/controller/garbagecollector/garbagecollector_test.go

    func (t *trackingWorkqueue[T]) ShutDown() {
    	t.limiter.ShutDown()
    }
    func (t *trackingWorkqueue[T]) ShutDownWithDrain() {
    	t.limiter.ShutDownWithDrain()
    }
    func (t *trackingWorkqueue[T]) ShuttingDown() bool {
    	return t.limiter.ShuttingDown()
    }
    
    func (t *trackingWorkqueue[T]) queue(item T) {
    	if _, queued := t.pendingMap[item]; queued {
    		// fmt.Printf("already queued: %#v\n", item)
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  6. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    SweeperPool { private static final boolean DEBUG = 0; private transient SweeperPool$Sweeper sweeper; private transient int maxSize; private transient int minSize; private int triggerSize; private java.util.ArrayList pooledObjects; private boolean shuttingDown; public void SweeperPool(int, int, int, int, int); private int saneConvert(int); public synchronized Object get(); public synchronized boolean put(Object); public synchronized int getSize(); public synchronized void dispose(); public synchronized...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 164.6K bytes
    - Viewed (0)
Back to top