From: Brian Warner Date: Wed, 22 Oct 2008 08:42:37 +0000 (-0700) Subject: immutable/filenode.py: add TODO note about the #514 monitor to check(), rather than... X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/webapi.txt?a=commitdiff_plain;h=1566a9474c30c9e14938bb1a1874e7e1a43ff4f1;p=tahoe-lafs%2Ftahoe-lafs.git immutable/filenode.py: add TODO note about the #514 monitor to check(), rather than going through the checker/verifier code and adding it, since Zooko is currently working on that code --- diff --git a/src/allmydata/immutable/filenode.py b/src/allmydata/immutable/filenode.py index 2d87a1f9..bf06cb51 100644 --- a/src/allmydata/immutable/filenode.py +++ b/src/allmydata/immutable/filenode.py @@ -56,6 +56,9 @@ class FileNode(ImmutableFileNode): return self.u.storage_index def check(self, monitor, verify=False): + # TODO: pass the Monitor to SimpleCHKFileChecker or + # SimpleCHKFileVerifier, have it call monitor.raise_if_cancelled() + # before sending each request. storage_index = self.u.storage_index k = self.u.needed_shares N = self.u.total_shares