Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for rbrace (3.65 sec)

  1. Makefile

    	@echo "Verifying build with race"
    	@GORACE=history_size=7 CGO_ENABLED=1 go build -race -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/minio 1>/dev/null
    	@(env bash $(PWD)/buildscripts/verify-build.sh)
    
    verify-healing: ## verify healing and replacing disks with minio binary
    	@echo "Verify healing build with race"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  2. internal/http/listener.go

    	}
    
    	for i, serverAddr := range serverAddrs {
    		l, e := listenCfg.Listen(ctx, "tcp", serverAddr)
    		if e != nil {
    			if opts.Trace != nil {
    				opts.Trace(fmt.Sprint("listenCfg.Listen: ", e))
    			}
    
    			listenErrs[i] = e
    			continue
    		}
    
    		if opts.Trace != nil {
    			opts.Trace(fmt.Sprint("adding listener to ", l.Addr()))
    		}
    
    		listeners = append(listeners, l)
    	}
    
    	if len(listeners) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    func (c *Connection) Subroute(s string) *Subroute {
    	if c == nil {
    		return nil
    	}
    	return &Subroute{
    		Connection: c,
    		route:      s,
    		subID:      makeSubHandlerID(0, s),
    		trace:      c.trace.subroute(s),
    	}
    }
    
    // Subroute adds a subroute to the subroute.
    // The subroutes are combined with '/'.
    func (c *Subroute) Subroute(s string) *Subroute {
    	route := strings.Join([]string{c.route, s}, "/")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  4. cmd/peer-rest-client.go

    			default:
    				// There was error in the REST request, retry after sometime as probably the peer is down.
    				time.Sleep(5 * time.Second)
    			}
    		}
    	}()
    }
    
    // Trace - send http trace request to peer nodes
    func (client *peerRESTClient) Trace(ctx context.Context, traceCh chan<- []byte, traceOpts madmin.ServiceTraceOpts) {
    	go func() {
    		for {
    			// Blocks until context is canceled or an error occurs.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    		adminRouter.Methods(http.MethodPost).Path(adminVersion + adminAPIClientDevExtraTime).HandlerFunc(adminMiddleware(adminAPI.ClientDevNullExtraTime, noGZFlag))
    
    		// HTTP Trace
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/trace").HandlerFunc(adminMiddleware(adminAPI.TraceHandler, noObjLayerFlag))
    
    		// Console Logs
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. cmd/api-router.go

    //
    // The passed in handler function must be a method of `objectAPIHandlers` for
    // the name displayed in logs and trace to be accurate. The name is extracted
    // via reflection.
    //
    // When **no** flags are passed, the behavior is to trace both headers and body,
    // gzip the response and throttle the handler via `maxClients`. Each of these
    // can be disabled via the corresponding `s3HFlag`.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. cmd/batch-expire.go

    				var success bool
    				for attempts := 1; attempts <= retryAttempts; attempts++ {
    					select {
    					case <-ctx.Done():
    						done = true
    					default:
    					}
    					stopFn := globalBatchJobsMetrics.trace(batchJobMetricExpire, ri.JobID, attempts)
    					_, err := api.DeleteObject(ctx, exp.Bucket, encodeDirObject(exp.Name), ObjectOptions{
    						DeletePrefix:       true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  8. cmd/peer-rest-server.go

    		}
    	}
    }
    
    // TraceHandler sends http trace messages back to peer rest client
    func (s *peerRESTServer) TraceHandler(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) *grid.RemoteErr {
    	var traceOpts madmin.ServiceTraceOpts
    	err := json.Unmarshal(payload, &traceOpts)
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    	var wg sync.WaitGroup
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  9. cmd/batch-rotate.go

    			continue
    		}
    		wk.Take()
    		go func() {
    			defer wk.Give()
    			for attempts := 1; attempts <= retryAttempts; attempts++ {
    				attempts := attempts
    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricKeyRotation, job.ID, attempts)
    				success := true
    				if err := r.KeyRotate(ctx, api, result); err != nil {
    					stopFn(result, err)
    					batchLogIf(ctx, err)
    					success = false
    				} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. internal/grid/handlers.go

    	if err != nil {
    		return resp, err
    	}
    	switch any(req).(type) {
    	case *MSS, *URLValues:
    		ctx = context.WithValue(ctx, TraceParamsKey{}, req)
    	case *NoPayload, *Bytes:
    		// do not need to trace nopayload and bytes payload
    	default:
    		ctx = context.WithValue(ctx, TraceParamsKey{}, fmt.Sprintf("type=%T", req))
    	}
    	if h.callReuseReq {
    		defer h.recycleReq(req)
    	}
    	res, err := c.Request(ctx, h.id, payload)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
Back to top