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

Version 1 Next »

  • Added since PJS 7.6.0.

The httpRequestAPITimeout setting is used to replace shortHttpTimeout which is used as the default timeout setting for pjs.httpRequest().

When specified, pjs.httpRequest() will time out using the value of this setting if a timeout value is not included in the request parameters.

If this setting is not included in config.js, it will internally use a default value of 10 seconds (1000ms).

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

Click here for information on how to modify this setting.

  • No labels