From acffaa55a1a2834a88bc316e297a7ceb9499e65d Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 30 Aug 2016 15:44:00 +0200 Subject: [PATCH] Short circuit processing of the heartbeat request --- lib/base.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/base.php b/lib/base.php index 68eab7c4ac..fe7419e6ff 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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();