]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/encode.py
add upload-results timing info for helper uploads. This changes the Helper protocol...
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / encode.py
index 39f1e904e06975d233aad9c66b5398375038642f..1e41ef1202719ad46afced24661a4ccc8a075b4f 100644 (file)
@@ -669,10 +669,3 @@ class Encoder(object):
     def get_times(self):
         # return a dictionary of encode+push timings
         return self._times
-    def get_rates(self):
-        # return a dictionary of encode+push speeds
-        rates = {
-            "encode": self.file_size / self._times["cumulative_encoding"],
-            "push": self.file_size / self._times["cumulative_sending"],
-            }
-        return rates