Alter CiphertextDownloader to work with servers_of_happiness
authorKevan Carstensen <kevan@isnotajoke.com>
Thu, 24 Sep 2009 04:19:32 +0000 (21:19 -0700)
committerKevan Carstensen <kevan@isnotajoke.com>
Thu, 24 Sep 2009 04:19:32 +0000 (21:19 -0700)
src/allmydata/immutable/download.py

index 4b79d9b99169ed86b70eeaf9df594d2e4c090993..eb02c6aa8d8aaff585ff62d4e472f444ea141155 100644 (file)
@@ -1036,7 +1036,7 @@ class CiphertextDownloader(log.PrefixingLogMixin):
             # Repairer (uploader) needs the encodingparams.
             self._target.set_encodingparams((
                 self._verifycap.needed_shares,
-                self._verifycap.total_shares, # I don't think the target actually cares about "happy".
+                0, # see ticket #778 for why this is
                 self._verifycap.total_shares,
                 self._vup.segment_size
                 ))