fix(session): Log when session_* calls are slow

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst
2024-06-25 15:16:40 +02:00
committed by Julius Härtl
parent fbbc10466b
commit 2b38d6ae7e
9 changed files with 51 additions and 35 deletions
+1 -1
View File
@@ -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);