Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for ending2 (0.23 sec)

  1. internal/grid/muxclient.go

    		select {
    		case <-m.ctx.Done():
    			if debugPrint {
    				fmt.Println("Client sending disconnect to mux", m.MuxID)
    			}
    			m.addErrorNonBlockingClose(internalResp, context.Cause(m.ctx))
    			errState = true
    			continue
    		case req, ok := <-requests:
    			if !ok {
    				// Done send EOF
    				if debugPrint {
    					fmt.Println("Client done, sending EOF to mux", m.MuxID)
    				}
    				msg := message{
    					Op:    OpMuxClientMsg,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver.go

    			fd := int(wl.Netns.Fd())
    			log.Infof("Sending local pod %s ztunnel", uid)
    			resp, err = conn.sendMsgAndWaitForAck(&zdsapi.WorkloadRequest{
    				Payload: &zdsapi.WorkloadRequest_Add{
    					Add: &zdsapi.AddWorkload{
    						Uid:          uid,
    						WorkloadInfo: wl.Workload,
    					},
    				},
    			}, &fd)
    		} else {
    			log.Infof("netns not available for local pod %s. sending keep to ztunnel", uid)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. docs/debugging/healing-bin/main.go

    	app.HideVersion = true
    	app.HideHelpCommand = true
    	app.CustomAppHelpTemplate = `NAME:
      {{.Name}} - {{.Usage}}
    
    USAGE:
      {{.Name}} {{if .VisibleFlags}}[FLAGS]{{end}} [HEALINGBINFILE|INSPECTZIPFILE]
    
    files ending in '.zip' will be searched for '.healing.bin files recursively and
    printed together as a single JSON.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    	app.Flags = []cli.Flag{}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    			t.Errorf("want %q, got %q", testPayload+strconv.Itoa(n), string(resp.Msg))
    		}
    		if n == 10 {
    			close(stream.Requests)
    			continue
    		}
    		n++
    		t.Log("sending new client request")
    		stream.Requests <- []byte(strconv.Itoa(n))
    	}
    	t.Log("EOF. 10 Roundtrips:", time.Since(start))
    }
    
    func testStreamCancel(t *testing.T, local, remote *Manager) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  5. src/archive/zip/register.go

    package zip
    
    import (
    	"compress/flate"
    	"errors"
    	"io"
    	"sync"
    )
    
    // A Compressor returns a new compressing writer, writing to w.
    // The WriteCloser's Close method must be used to flush pending data to w.
    // The Compressor itself must be safe to invoke from multiple goroutines
    // simultaneously, but each returned writer will be used only by
    // one goroutine at a time.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. internal/http/dial_linux.go

    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_QUICKACK, 1)
    
    			// The time (in seconds) the connection needs to remain idle before
    			// TCP starts sending keepalive probes
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, 15)
    
    			// Number of probes.
    			// ~ cat /proc/sys/net/ipv4/tcp_keepalive_probes (defaults to 9, we reduce it to 5)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jun 07 16:53:05 GMT 2023
    - 4.4K bytes
    - Viewed (3)
  7. cmd/bucket-lifecycle_test.go

    func TestParseRestoreObjStatus(t *testing.T) {
    	testCases := []struct {
    		restoreHdr     string
    		expectedStatus restoreObjStatus
    		expectedErr    error
    	}{
    		{
    			// valid: represents a restored object, 'pending' expiry.
    			restoreHdr: `ongoing-request="false", expiry-date="Fri, 21 Dec 2012 00:00:00 GMT"`,
    			expectedStatus: restoreObjStatus{
    				ongoing: false,
    				expiry:  time.Date(2012, 12, 21, 0, 0, 0, 0, time.UTC),
    			},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
  8. cmd/site-replication-metrics.go

    			srs.Latency.update(st.TransferSize, st.TransferDuration)
    			srs.updateXferRate(st.TransferSize, st.TransferDuration)
    		}
    	case st.Failed:
    		srs.Failed.addsize(st.TransferSize, st.Err)
    	case st.Pending:
    	}
    	sr.M[dID] = srs
    }
    
    func (sr *SRStats) get() map[string]SRMetric {
    	epMap := globalBucketTargetSys.healthStats()
    
    	sr.lock.RLock()
    	defer sr.lock.RUnlock()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. internal/event/targetlist.go

    // any for the associated TargetID
    type TargetIDResult struct {
    	// ID where the remove or send were initiated.
    	ID TargetID
    	// Stores any error while removing a target or while sending an event.
    	Err error
    }
    
    // Remove - closes and removes targets by given target IDs.
    func (list *TargetList) Remove(targetIDSet TargetIDSet) {
    	list.Lock()
    	defer list.Unlock()
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom.go

    	}
    }
    
    func (z *erasureServerPools) decommissionInBackground(ctx context.Context, idx int) error {
    	pool := z.serverPools[idx]
    	z.poolMetaMutex.RLock()
    	pending := z.poolMeta.PendingBuckets(idx)
    	z.poolMetaMutex.RUnlock()
    
    	for _, bucket := range pending {
    		z.poolMetaMutex.RLock()
    		isDecommissioned := z.poolMeta.isBucketDecommissioned(idx, bucket.String())
    		z.poolMetaMutex.RUnlock()
    		if isDecommissioned {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 40.4K bytes
    - Viewed (1)
Back to top