Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetOPTimeout (0.18 sec)

  1. internal/config/drive/drive.go

    	return nil
    }
    
    // GetMaxTimeout - returns the per call drive operation timeout
    func (c *Config) GetMaxTimeout() time.Duration {
    	return c.GetOPTimeout()
    }
    
    // GetOPTimeout - returns the per call drive operation timeout
    func (c *Config) GetOPTimeout() time.Duration {
    	configLk.RLock()
    	defer configLk.RUnlock()
    
    	return getMaxTimeout(c.MaxTimeout)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/server-main.go

    	globalTCPOptions = xhttp.TCPOptions{
    		UserTimeout: int(ctxt.UserTimeout.Milliseconds()),
    		// FIXME: Bring this back when we have valid way to handle deadlines
    		//		DriveOPTimeout: globalDriveConfig.GetOPTimeout,
    		Interface:   ctxt.Interface,
    		SendBufSize: ctxt.SendBufSize,
    		RecvBufSize: ctxt.RecvBufSize,
    	}
    
    	// allow transport to be HTTP/1.1 for proxying.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top