X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/cf39e07dba72373302e2d1a48de3083339d0decb..0628aa887fb8b0b367fa8aacb4d4473661b77fa5:/utils/blocks.php diff --git a/utils/blocks.php b/utils/blocks.php index e1dfb590..b213e454 100755 --- a/utils/blocks.php +++ b/utils/blocks.php @@ -32,9 +32,15 @@ if ($aResult['list']) { printf(" %-40s | %12s | %7s | %13s | %31s | %8s\n", "Key", "Total Blocks", "Current", "Still Blocked", "Last Block Time", "Sleeping"); printf(" %'--40s-|-%'-12s-|-%'-7s-|-%'-13s-|-%'-31s-|-%'-8s\n", "", "", "", "", "", ""); foreach ($aBlocks as $sKey => $aDetails) { - printf(" %-40s | %12s | %7s | %13s | %31s | %8s\n", $sKey, $aDetails['totalBlocks'], - (int)$aDetails['currentBucketSize'], $aDetails['currentlyBlocked']?'Y':'N', - date("r", $aDetails['lastBlockTimestamp']), $aDetails['isSleeping']?'Y':'N'); + printf( + " %-40s | %12s | %7s | %13s | %31s | %8s\n", + $sKey, + $aDetails['totalBlocks'], + (int)$aDetails['currentBucketSize'], + $aDetails['currentlyBlocked']?'Y':'N', + date("r", $aDetails['lastBlockTimestamp']), + $aDetails['isSleeping']?'Y':'N' + ); } echo "\n"; }