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 2 Current »

  • Added since Profound.js 7.6.0.

By default, requests made via pjs.httpRequest() use a timeout of 10 seconds. The pjs.httpRequest call accepts a “timeout” parameter that overrides the default timeout.

The httpRequestAPITimeout setting overrides the default timeout for requests sent via pjs.httpRequest() that do not specify a timeout in their parameters. Overriding the default can be useful for using low-code plugins or when the 10-second timeout is not appropriate for most requests made via pjs.httpRequest.

Example
httpRequestAPITimeout: 3000   // Set API request time-out to 3 seconds.

Click here for information on how to modify this setting.

httpRequestAPITimeout replaces the deprecated, shortHttpTimeout, which in past releases worked with the deprecated pjs.sendRequest API.

  • No labels