fix(session): Log when session_* calls are slow
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
committed by
Julius Härtl
parent
fbbc10466b
commit
2b38d6ae7e
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user