Short circuit processing of the heartbeat request
This commit is contained in:
parent
ef34b49e43
commit
acffaa55a1
|
@ -922,6 +922,9 @@ class OC {
|
||||||
|
|
||||||
$request = \OC::$server->getRequest();
|
$request = \OC::$server->getRequest();
|
||||||
$requestPath = $request->getRawPathInfo();
|
$requestPath = $request->getRawPathInfo();
|
||||||
|
if ($requestPath === '/heartbeat') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (substr($requestPath, -3) !== '.js') { // we need these files during the upgrade
|
if (substr($requestPath, -3) !== '.js') { // we need these files during the upgrade
|
||||||
self::checkMaintenanceMode();
|
self::checkMaintenanceMode();
|
||||||
self::checkUpgrade();
|
self::checkUpgrade();
|
||||||
|
|
Loading…
Reference in New Issue