- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for keepaliveInterval (0.25 sec)
-
src/net/tcpsockopt_windows.go
// Given that we can't set KeepAliveInterval alone, and this code path // is new, it doesn't exist before, so we just return an error. return syscall.WSAENOPROTOOPT case idle >= 0 && interval < 0: // Although we can't set KeepAliveTime alone either, this existing code // path had been backing up [SetKeepAlivePeriod] which used to be set both // KeepAliveTime and KeepAliveInterval to 15 seconds.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:35 UTC 2024 - 3.8K bytes - Viewed (0) -
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 { TCPKeepalive *TCPKeepalive `json:"tcp_keepalive,omitempty"` }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 00:35:05 UTC 2024 - 10.2K bytes - Viewed (0) -
pkg/keepalive/options.go
// the necessary set of flags to configure the grpc keepalive options. func (o *Options) AttachCobraFlags(cmd *cobra.Command) { cmd.PersistentFlags().DurationVar(&o.Time, "keepaliveInterval", o.Time, "The time interval if no activity on the connection it pings the peer to see if the transport is alive") cmd.PersistentFlags().DurationVar(&o.Timeout, "keepaliveTimeout", o.Timeout,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3.9K bytes - Viewed (0) -
internal/event/target/mqtt.go
User string `json:"username"` Password string `json:"password"` MaxReconnectInterval time.Duration `json:"reconnectInterval"` KeepAlive time.Duration `json:"keepAliveInterval"` RootCAs *x509.CertPool `json:"-"` QueueDir string `json:"queueDir"` QueueLimit uint64 `json:"queueLimit"` } // Validate MQTTArgs fields
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.2K bytes - Viewed (0) -
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) -
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) -
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) -
pilot/pkg/networking/core/cluster_test.go
g.Expect(cluster.UpstreamConnectionOptions.TcpKeepalive.KeepaliveTime.Value). To(Equal(uint32(expected.Tcp.TcpKeepalive.Time.Seconds))) g.Expect(cluster.UpstreamConnectionOptions.TcpKeepalive.KeepaliveInterval.Value). To(Equal(uint32(expected.Tcp.TcpKeepalive.Interval.Seconds))) g.Expect(cluster.ConnectTimeout).NotTo(BeNil()) g.Expect(cluster.ConnectTimeout.Seconds).To(Equal(expected.Tcp.ConnectTimeout.Seconds))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
cluster/gce/windows/k8s-node-setup.psm1
function Set-WindowsTCPParameters { Set-ItemProperty -Force -Confirm:$false -Path ` 'HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters' ` -Name 'KeepAliveInterval' -Type Dword -Value 1000 Set-ItemProperty -Force -Confirm:$false ` -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters' ` -Name 'KeepAliveTime' -Type Dword -Value 60000
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 21:13:22 UTC 2024 - 88.3K bytes - Viewed (0)