Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for KeepAliveInterval (0.2 sec)

  1. pkg/bootstrap/option/convert.go

    type TCPKeepalive struct {
    	KeepaliveProbes   *wrappers.UInt32Value `json:"keepalive_probes,omitempty"`
    	KeepaliveTime     *wrappers.UInt32Value `json:"keepalive_time,omitempty"`
    	KeepaliveInterval *wrappers.UInt32Value `json:"keepalive_interval,omitempty"`
    }
    
    // UpstreamConnectionOptions wraps is a thin JSON for xDS proto
    type UpstreamConnectionOptions struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/net/tcpsock.go

    // SetKeepAlivePeriod sets the duration the connection needs to
    // remain idle before TCP starts sending keepalive probes.
    //
    // Note that calling this method on Windows prior to Windows 10 version 1709
    // will reset the KeepAliveInterval to the default system value, which is normally 1 second.
    func (c *TCPConn) SetKeepAlivePeriod(d time.Duration) error {
    	if !c.ok() {
    		return syscall.EINVAL
    	}
    	if err := setKeepAliveIdle(c.fd, d); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. internal/config/notify/parse.go

    		if err != nil {
    			return nil, err
    		}
    
    		keepAliveIntervalEnv := target.EnvMQTTKeepAliveInterval
    		if k != config.Default {
    			keepAliveIntervalEnv = keepAliveIntervalEnv + config.Default + k
    		}
    		keepAliveInterval, err := time.ParseDuration(env.Get(keepAliveIntervalEnv,
    			kv.Get(target.MqttKeepAliveInterval)))
    		if err != nil {
    			return nil, err
    		}
    
    		queueLimitEnv := target.EnvMQTTQueueLimit
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster.go

    		c.UpstreamConnectionOptions.TcpKeepalive.KeepaliveTime = &wrappers.UInt32Value{Value: uint32(keepalive.Time.Seconds)}
    	}
    
    	if keepalive.Interval != nil {
    		c.UpstreamConnectionOptions.TcpKeepalive.KeepaliveInterval = &wrappers.UInt32Value{Value: uint32(keepalive.Interval.Seconds)}
    	}
    }
    
    // Build a struct which contains service metadata and will be added into cluster label.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top