mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
Short circuit processing of the heartbeat request
This commit is contained in:
parent
ef34b49e43
commit
acffaa55a1
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue