Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ready_deadline (0.07 sec)

  1. internal/config/api/api.go

    	EnvAPIObjectMaxVersions           = "MINIO_API_OBJECT_MAX_VERSIONS"
    	EnvAPIObjectMaxVersionsLegacy     = "_MINIO_OBJECT_MAX_VERSIONS"
    )
    
    // Deprecated key and ENVs
    const (
    	apiReadyDeadline            = "ready_deadline"
    	apiRequestsDeadline         = "requests_deadline"
    	apiReplicationWorkers       = "replication_workers"
    	apiReplicationFailedWorkers = "replication_failed_workers"
    )
    
    // DefaultKVS - default storage class config
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.5K bytes
    - Viewed (1)
  2. internal/deadlineconn/deadlineconn.go

    	// Do not set a Read deadline, if upstream wants to cancel all reads.
    	if c.readDeadline <= 0 || c.abortReads.Load() || c.infReads.Load() {
    		return
    	}
    
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	if c.abortReads.Load() {
    		return
    	}
    
    	now := time.Now()
    	if now.Sub(c.readSetAt) > updateInterval {
    		c.Conn.SetReadDeadline(now.Add(c.readDeadline + updateInterval))
    		c.readSetAt = now
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Dec 02 13:21:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top