longHttpTimeout

longHttpTimeout

This option does nothing in Profound.js versions 5.0.0 and later and this option is therefore deprecated. There is no equivalent setting, because the internal code that used it has changed. Added in version 4.8.1.

Description

This setting specifies the number of milliseconds to wait for long-running HTTP requests to complete before they time out. It was used by the Profound.js Connector and the pjs.query() API, to allow sufficient time for database and remote operations to complete before the HTTP request is aborted. If not specified, the value defaults to 3600000 milliseconds, which is one hour.

Example

longHttpTimeout: 9000000 // Set long HTTP time-out to 2.5 hours.

For information on how to modify this setting, see Configuration File.