File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ func getColumnsFillRate(
169169): string =
170170 let custodyMap = overseer.columnQuarantine[].custodyMap
171171 if len (overseer.columnsState.distribution) == 0 :
172- return " 0%"
172+ return " 0.00 %"
173173 var columns = 0
174174 for index in custodyMap:
175175 let tmp = overseer.columnsState.distribution.getOrDefault (index, 0 )
@@ -181,7 +181,7 @@ func getColumnsFillRate(
181181 else :
182182 len (custodyMap)
183183 fillRate = (float (columns) * 100.0 ) / float (columnsCount)
184- fillRate.formatBiggestFloat (ffDecimal, 0 ) & " %"
184+ fillRate.formatBiggestFloat (ffDecimal, 2 ) & " %"
185185
186186func getMissingSidecarsLog (
187187 overseer: SyncOverseerRef2 ,
@@ -2202,7 +2202,7 @@ proc timeMonitoringLoop(
22022202 column_quarantine = shortLog (overseer.columnQuarantine[]),
22032203 useful_peers = overseer.columnsState.usefulCount,
22042204 useless_peers = overseer.columnsState.uselessCount,
2205- distribution = shortLog ( overseer.getColumnsDistribution () ),
2205+ distribution = overseer.getColumnsDistribution (),
22062206 columns_fill_rate = overseer.getColumnsFillRate ()
22072207
22082208 except CancelledError :
You can’t perform that action at this time.
0 commit comments