BagOStuff: Don't use $this in a closure
Change-Id: Ib9fb92a70adc2b4d75c30148e17dff6f7765afe1
This commit is contained in:
parent
a556484ba0
commit
78f1fee559
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ abstract class BagOStuff implements LoggerAwareInterface {
|
|||
$latency = .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)." );
|
||||
$that->logger->warning( "Lock for $key held too long ($age sec)." );
|
||||
return; // expired; it's not "safe" to delete the key
|
||||
}
|
||||
$that->unlock( $key );
|
||||
|
|
|
|||
Loading…
Reference in a new issue