Merge pull request #2165
8db68a57
Fix #2164 histogram output (Howard Chu)
This commit is contained in:
commit
921ebdce45
@ -966,7 +966,7 @@ bool t_rpc_command_executor::print_transaction_pool_stats() {
|
|||||||
denom = n-1;
|
denom = n-1;
|
||||||
for (i=0; i<denom; i++)
|
for (i=0; i<denom; i++)
|
||||||
times[i] = i * numer / denom;
|
times[i] = i * numer / denom;
|
||||||
times[i] = res.pool_stats.oldest;
|
times[i] = now - res.pool_stats.oldest;
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
numer = now - res.pool_stats.oldest;
|
numer = now - res.pool_stats.oldest;
|
||||||
|
Loading…
Reference in New Issue
Block a user