Get send and recv the right way round
This commit is contained in:
parent
14d3d85bd9
commit
5fffc25188
@ -46,7 +46,7 @@ class RPCClient(asyncio.Protocol):
|
|||||||
fmt = ('{:<4} {:>23} {:>15} {:>5} '
|
fmt = ('{:<4} {:>23} {:>15} {:>5} '
|
||||||
'{:>7} {:>7} {:>7} {:>7} {:>5} {:>9}')
|
'{:>7} {:>7} {:>7} {:>7} {:>5} {:>9}')
|
||||||
print(fmt.format('Type', 'Peer', 'Client', 'Subs',
|
print(fmt.format('Type', 'Peer', 'Client', 'Subs',
|
||||||
'Snt #', 'Snt KB', 'Rcv #', 'Rcv KB',
|
'Recv #', 'Recv KB', 'Sent #', 'Sent KB',
|
||||||
'Errs', 'Time'))
|
'Errs', 'Time'))
|
||||||
for (kind, peer, subs, client, recv_count, recv_size,
|
for (kind, peer, subs, client, recv_count, recv_size,
|
||||||
send_count, send_size, error_count, time) in result:
|
send_count, send_size, error_count, time) in result:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user