Hi,
Is there any way to set a Timeout Key in Sugar.API.Call to increase request time from 30000 ms to more.
Thanks,
Shrikant
Hi,
Is there any way to set a Timeout Key in Sugar.API.Call to increase request time from 30000 ms to more.
Thanks,
Shrikant
Hi Shrikant
There is an option in configuration file that governs AJAX requests delay. So you can prepare custom build using mobile SDK with custom timeout. This option is jsConfig.serverTimeout. Default value is 30 seconds
Hi Shrikant
There is an option in configuration file that governs AJAX requests delay. So you can prepare custom build using mobile SDK with custom timeout. This option is jsConfig.serverTimeout. Default value is 30 seconds
Hi Eugene,
Thanks for the reply, I did that change earlier by changing the default server timeout value with new value inside config.json file. like below
"jsConfig": {
"appName": "",
"productName": "",
"brandName": "",
"serverTimeout": 300,
"appBuild": "1",
"appVersion": "1.0",
}
This solution work in case when I execute the project on the browser(chrome). but fails when I execute the same thing on the native device, The request fails by saying server timeout less than 30 sec.
Please check the attached screenshot.
Thanks,
Shrikant
{SugarClub Administrator Edit: We're sorry, but this image is no longer available}