shortHttpTimeout

  • As of ProfoundJS 7.6.0, shortHttpTimeout has been deprecated. Use httpRequestAPITimeout instead which works with the pjs.httpRequest API.

  • As of ProfoundJS 6.1.0, shortHttpTimeout does nothing; the API it affected, pjs.sendRequest, has been replaced with pjs.httpRequest. To workaround the limitation in affected versions, a “timeout” property can be passed in the options to pjs.httpRequest to set the timeout on the request.

Added in: v4.8.1

This setting is used to specify the number of Milliseconds to wait for standard HTTP requests to complete before they are aborted. All HTTP requests that are not using the longHttpTimeout setting will use this value, including the  pjs.sendRequest() API. If not specified, this value will default to 3000 milliseconds, which is 3 seconds.



Example
shortHttpTimeout: 500 // Set short HTTP time-out to 0.5 seconds.

Click here for information on how to modify this setting.