dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Throw Exceptions on preg_* failures in MagicWordArray::matchAndRemove()
[lhc/web/wiklou.git]
/
includes
/
objectcache
/
ObjectCacheSessionHandler.php
diff --git
a/includes/objectcache/ObjectCacheSessionHandler.php
b/includes/objectcache/ObjectCacheSessionHandler.php
index
6a9b9a8
..
2a5d695
100644
(file)
--- a/
includes/objectcache/ObjectCacheSessionHandler.php
+++ b/
includes/objectcache/ObjectCacheSessionHandler.php
@@
-112,7
+112,7
@@
class ObjectCacheSessionHandler {
$data = self::getCache()->get( self::getKey( $id ) );
$real = microtime( true ) - $stime;
$data = self::getCache()->get( self::getKey( $id ) );
$real = microtime( true ) - $stime;
- RequestContext::getMain()->getStats()->timing( "session.read", $real );
+ RequestContext::getMain()->getStats()->timing( "session.read",
1000 *
$real );
self::$hashCache = array( $id => self::getHash( $data ) );
self::$hashCache = array( $id => self::getHash( $data ) );
@@
-137,7
+137,7
@@
class ObjectCacheSessionHandler {
self::getCache()->set( self::getKey( $id ), $data, $wgObjectCacheSessionExpiry );
$real = microtime( true ) - $stime;
self::getCache()->set( self::getKey( $id ), $data, $wgObjectCacheSessionExpiry );
$real = microtime( true ) - $stime;
- RequestContext::getMain()->getStats()->timing( "session.write", $real );
+ RequestContext::getMain()->getStats()->timing( "session.write",
1000 *
$real );
}
return true;
}
return true;
@@
-154,7
+154,7
@@
class ObjectCacheSessionHandler {
self::getCache()->delete( self::getKey( $id ) );
$real = microtime( true ) - $stime;
self::getCache()->delete( self::getKey( $id ) );
$real = microtime( true ) - $stime;
- RequestContext::getMain()->getStats()->timing( "session.destroy", $real );
+ RequestContext::getMain()->getStats()->timing( "session.destroy",
1000 *
$real );
return true;
}
return true;
}