mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-17 10:20:13 +00:00
control.py: use get_buckets() instead of get_version() to measure ping time, because the latter changed recently
This commit is contained in:
parent
3e25efc010
commit
2308440fb6
@ -81,7 +81,7 @@ class ControlServer(Referenceable, service.Service):
|
|||||||
return results
|
return results
|
||||||
peerid, connection = everyone_left.pop(0)
|
peerid, connection = everyone_left.pop(0)
|
||||||
start = time.time()
|
start = time.time()
|
||||||
d = connection.callRemote("get_version")
|
d = connection.callRemote("get_buckets", "\x00"*16)
|
||||||
def _done(ignored):
|
def _done(ignored):
|
||||||
stop = time.time()
|
stop = time.time()
|
||||||
elapsed = stop - start
|
elapsed = stop - start
|
||||||
|
Loading…
Reference in New Issue
Block a user