aboutsummaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2024-06-25 15:16:40 +0200
committerJulius Härtl <jus@bitgrid.net>2024-08-07 09:02:10 +0200
commit2b38d6ae7e0602d164bb26affa8a877b818e9cb5 (patch)
tree4917f090e30515b8c27f4eec5ae2492cfae1af40 /cron.php
parentfbbc10466b79caea0b9d1f718d4abdd021df241c (diff)
downloadnextcloud-server-2b38d6ae7e0602d164bb26affa8a877b818e9cb5.tar.gz
nextcloud-server-2b38d6ae7e0602d164bb26affa8a877b818e9cb5.zip
fix(session): Log when session_* calls are slow
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron.php b/cron.php
index 0b64bfb957b..a1cc5250b20 100644
--- a/cron.php
+++ b/cron.php
@@ -61,7 +61,7 @@ Options:
Server::get(ISession::class)->close();
// initialize a dummy memory session
- $session = new \OC\Session\Memory('');
+ $session = new \OC\Session\Memory();
$cryptoWrapper = \OC::$server->getSessionCryptoWrapper();
$session = $cryptoWrapper->wrapSession($session);
\OC::$server->setSession($session);