[ticket/15174] Increase timeout for loading indicator

The timeout is rather low with 15 seconds until reporting
a timed out request. 25 seconds will be compatible with almost
any setup. A lot more changes would be needed to do proper
timeout checks on slow requests like purging the board cache.

PHPBB3-15174
This commit is contained in:
Marc Alexander 2017-04-16 21:50:17 +02:00
parent 1cbc6dedab
commit 8a624c4dcc
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -41,7 +41,7 @@ phpbb.loadingIndicator = function() {
if ($loadingIndicator.is(':visible')) { if ($loadingIndicator.is(':visible')) {
phpbb.alert($alert.attr('data-l-err'), $alert.attr('data-l-timeout-processing-req')); phpbb.alert($alert.attr('data-l-err'), $alert.attr('data-l-timeout-processing-req'));
} }
}, 15000); }, 25000);
} }
return $loadingIndicator; return $loadingIndicator;