X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FBagOStuff.php;h=8a23db515b168221f9fbdc6d035284d94fb51535;hb=eca49eb5d2815d3a7b5375fe810d079dd3c17289;hp=f834ccf937a4447b6240c0b53775b6fd0ee50ef0;hpb=3f1a52805e3cf801eda0357ee236de6b49a31c85;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/objectcache/BagOStuff.php b/includes/libs/objectcache/BagOStuff.php index f834ccf937..8a23db515b 100644 --- a/includes/libs/objectcache/BagOStuff.php +++ b/includes/libs/objectcache/BagOStuff.php @@ -476,7 +476,7 @@ abstract class BagOStuff implements IExpiringStore, LoggerAwareInterface { $lSince = microtime( true ); // lock timestamp return new ScopedCallback( function () use ( $key, $lSince, $expiry ) { - $latency = .050; // latency skew (err towards keeping lock present) + $latency = 0.050; // latency skew (err towards keeping lock present) $age = ( microtime( true ) - $lSince + $latency ); if ( ( $age + $latency ) >= $expiry ) { $this->logger->warning( "Lock for $key held too long ($age sec)." );