From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Mon, 2 Aug 2010 07:17:48 +0000 (-0700)
Subject: setup: increase requirement on foolscap from >= 0.4.1 to >= 0.5.1 to avoid the foolsc... 
X-Git-Url: https://git.rkrishnan.org/frontends/pb.xhtml?a=commitdiff_plain;h=5377d99cf38568d28b1b0320d530bf2c167a9320;p=tahoe-lafs%2Ftahoe-lafs.git

setup: increase requirement on foolscap from >= 0.4.1 to >= 0.5.1 to avoid the foolscap performance bug with transferring large mutable files
---

diff --git a/_auto_deps.py b/_auto_deps.py
index c55c9aed..40e9d952 100644
--- a/_auto_deps.py
+++ b/_auto_deps.py
@@ -10,7 +10,11 @@ install_requires=[
 
                   "zope.interface",
                   "Twisted >= 2.4.0",
-                  "foolscap[secure_connections] >= 0.4.1",
+
+                  # foolscap < 0.5.1 had a performance bug which spent
+                  # O(N**2) CPU for transferring large mutable files
+                  # of size N.
+                  "foolscap[secure_connections] >= 0.5.1",
                   "Nevow >= 0.6.0",
 
                   # pycryptopp v0.5.15 applied a patch from Wei Dai to fix an