Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Content Freeze

As of July 25th, 2023, there is a content freeze on this page.

This setting was added in Profound.js 5.3.0. In prior releases, TCP keepalives are disabled on connections to the server.

This setting is used to disable TCP keepalives on connections to the server, or to adjust the TCP keepalive time.

TCP keepalives are used to automatically detect and dispose of broken connections. See section TCP keepalive here for an explanation of the process. This setting corresponds to the keepalive time value. The value specified for this property is passed to the socket.setKeepAlive() method for all inbound server connections.

Valid values are:

  • 0: Disables TCP keepalives
  • Integer > 0: Sets TCP keepalive time, in milliseconds

The default value if this setting is not specified is 300000 (5 minutes).

Note: TCP keepalive is not the same thing as HTTP keepalive.

Examples

"tcpKeepAlive": 600000 // Set TCP keepalive time to 10 minutes


"tcpKeepAlive": 0 // Disable TCP keepalives
  • No labels