Commit 62f43369566488f6555c1eb25db993209313fae9

Authored by Vladyslav_Prykhodko
1 parent f6d13266

fix timeout

@@ -153,7 +153,7 @@ export default function GlobalInterceptor($rootScope, $q, $injector) { @@ -153,7 +153,7 @@ export default function GlobalInterceptor($rootScope, $q, $injector) {
153 } 153 }
154 154
155 function retryRequest (httpConfig) { 155 function retryRequest (httpConfig) {
156 - var thisTimeout = 1000 + Math.random() * 10000; 156 + var thisTimeout = 1000 + Math.random() * 3000;
157 return getTimeout()(function() { 157 return getTimeout()(function() {
158 return getHttp()(httpConfig); 158 return getHttp()(httpConfig);
159 }, thisTimeout); 159 }, thisTimeout);