Changed request timeout default value to 5

This commit is contained in:
LSAITHARUN 2021-07-19 16:04:55 +05:30
parent e50d38b4d9
commit 347d60acfe

View file

@ -175,6 +175,9 @@ export function Axios(config) {
if (typeof config.timeout !== 'undefined') {
options.timeout = config.timeout;
}
else if(typeof config.timeout === 'undefined'){
options.timeout = 5000;
}
return new Promise((resolve, reject) => {
if (isVoiceReq) {