Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for deadline (0.24 sec)

  1. cmd/common-main.go

    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.ConnReadDeadline = ctx.Duration("conn-read-deadline")
    	ctxt.ConnWriteDeadline = ctx.Duration("conn-write-deadline")
    	ctxt.ConnClientReadDeadline = ctx.Duration("conn-client-read-deadline")
    	ctxt.ConnClientWriteDeadline = ctx.Duration("conn-client-write-deadline")
    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    	ctxt.RecvBufSize = ctx.Int("recv-buf-size")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  2. internal/grid/handlers.go

    }
    
    // Call the remote with the request and return the response.
    // The response should be returned with PutResponse when no error.
    // If no deadline is set, a 1-minute deadline is added.
    func (h *SingleHandler[Req, Resp]) Call(ctx context.Context, c Requester, req Req) (resp Resp, err error) {
    	if c == nil {
    		if h.ignoreNilConn {
    			return resp, nil
    		}
    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)
  3. internal/grid/grid_test.go

    			Handle: func(ctx context.Context, payload []byte, request <-chan []byte, resp chan<- []byte) *RemoteErr {
    				started := time.Now()
    				dl, _ := ctx.Deadline()
    				if testing.Verbose() {
    					fmt.Println(GetCaller(ctx).Name, "Server deadline:", time.Until(dl))
    				}
    				<-ctx.Done()
    				serverCanceled <- time.Since(started)
    				if testing.Verbose() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/batch/v1beta1/generated.proto

      // reason UnknownTimeZone.
      // More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
      // +optional
      optional string timeZone = 8;
    
      // Optional deadline in seconds for starting the job if it misses scheduled
      // time for any reason.  Missed jobs executions will be counted as failed ones.
      // +optional
      optional int64 startingDeadlineSeconds = 2;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    		healthInfo.Error = string(encodedErrorResponse)
    		adminLogIf(ctx, enc.Encode(healthInfo))
    	}
    
    	deadline := 10 * time.Second // Default deadline is 10secs for health diagnostics.
    	if dstr := query.Get("deadline"); dstr != "" {
    		var err error
    		deadline, err = time.ParseDuration(dstr)
    		if err != nil {
    			errResp(err)
    			return
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       *
       * The deadline to respond to this ping attempts to limit the cost of being wrong. If it is too
       * long, streams created while we await the pong will reuse broken connections and inevitably
       * fail. If it is too short, slow connections will be marked as failed and extra TCP and TLS
       * handshakes will be required.
       *
       * The deadline is currently hardcoded. We may make this configurable in the future!
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

        // Call 1: set a deadline on the response body.
        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
        val body1 = response1.body.source()
        assertThat(body1.readUtf8()).isEqualTo("abc")
        body1.timeout().deadline(5, TimeUnit.SECONDS)
    
        // Call 2: check for the absence of a deadline on the request body.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/ztunnelserver.go

    				}
    				return err
    			case err == nil:
    				log.Warn("ztunnel protocol error, unexpected message")
    				return fmt.Errorf("ztunnel protocol error, unexpected message")
    			default:
    				// we get here if error is deadline exceeded, which means ztunnel is alive.
    			}
    
    		case <-ctx.Done():
    			return nil
    		}
    	}
    }
    
    func (z *ztunnelServer) PodDeleted(ctx context.Context, uid string) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. internal/rest/client.go

    	req, err := c.newRequest(ctx, u, body)
    	if err != nil {
    		return nil, &NetworkError{Err: err}
    	}
    	if length > 0 {
    		req.ContentLength = length
    	}
    
    	_, expectTimeouts := ctx.Deadline()
    
    	req, update := setupReqStatsUpdate(req)
    	defer update()
    
    	resp, err := c.httpClient.Do(req)
    	if err != nil {
    		if xnet.IsNetworkOrHostDown(err, expectTimeouts) {
    			if !c.NoMetrics {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/batch/v1/generated.proto

      // reason UnknownTimeZone.
      // More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
      // +optional
      optional string timeZone = 8;
    
      // Optional deadline in seconds for starting the job if it misses scheduled
      // time for any reason.  Missed jobs executions will be counted as failed ones.
      // +optional
      optional int64 startingDeadlineSeconds = 2;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
Back to top