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