]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
control.py: use get_buckets() instead of get_version() to measure ping time, because...
authorBrian Warner <warner@lothar.com>
Sun, 23 Nov 2008 06:13:23 +0000 (23:13 -0700)
committerBrian Warner <warner@lothar.com>
Sun, 23 Nov 2008 06:13:23 +0000 (23:13 -0700)
src/allmydata/control.py

index b566231f9b9a5ae5c7e792495eb09df89072b6b7..73756605e449dcc471d9e7b373689e97c86775da 100644 (file)
@@ -81,7 +81,7 @@ class ControlServer(Referenceable, service.Service):
             return results
         peerid, connection = everyone_left.pop(0)
         start = time.time()
-        d = connection.callRemote("get_version")
+        d = connection.callRemote("get_buckets", "\x00"*16)
         def _done(ignored):
             stop = time.time()
             elapsed = stop - start