Browse Source

fix timeout

pull/1776/head
Vladyslav_Prykhodko 7 years ago
parent
commit
62f4336956
  1. 2
      ui/src/app/global-interceptor.service.js

2
ui/src/app/global-interceptor.service.js

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

Loading…
Cancel
Save