objectcache: Cast explicitly to integer
To avoid logspam flood Bug: T393879 Change-Id: Iaee7b9b38d0bf8ace883800198a571e341f22010 (cherry picked from commit dc6c301b4b1b279c6f1ff459cd0eafc098cf3894)
This commit is contained in:
parent
cf84a740bd
commit
7f5acfeaca
1 changed files with 1 additions and 1 deletions
|
|
@ -1520,7 +1520,7 @@ class SqlBagOStuff extends MediumSpecificBagOStuff {
|
|||
// `( 9 / 10 ) + ( 0.3 / 10 ) = 0.93`, or 93% done, overall.
|
||||
$overallRatio = ( $progress['serversDone'] / $progress['serversTotal'] ) +
|
||||
( $tablesDoneRatio / $progress['serversTotal'] );
|
||||
( $progress['fn'] )( $overallRatio * 100 );
|
||||
( $progress['fn'] )( (int)( $overallRatio * 100 ) );
|
||||
}
|
||||
} while ( $res->numRows() && $keysDeletedCount < $limit );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue