diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2024-06-25 15:16:40 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2024-08-07 09:02:10 +0200 |
commit | 2b38d6ae7e0602d164bb26affa8a877b818e9cb5 (patch) | |
tree | 4917f090e30515b8c27f4eec5ae2492cfae1af40 /cron.php | |
parent | fbbc10466b79caea0b9d1f718d4abdd021df241c (diff) | |
download | nextcloud-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |