socketInactivityTimeout
This setting was added in Profound.js 5.3.0. In prior releases, the inactivity timeout on connections to the server is 1 hour and is not configurable.
This setting is used to adjust or disable the inactivity timeout on connections to the server. The inactivity timeout is used to abort long-running requests.
The value specified for this property is passed to the server.setTimeout() method.
Valid values are:
0: Disables inactivity timeout
Integer > 0: Sets inactivity timeout, in milliseconds
The default value if this setting is not specified is 3600000 (1 hour).
Examples
"socketInactivityTimeout": 120000 // Set inactivity timeout to 2 minutes.
"socketInactivityTimeout": 0 // Disable inactivity timeout.
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!