increase the maximum size of ShareData, since currently it is also a limit on uploaded file size

This commit is contained in:
Brian Warner 2006-12-04 05:14:31 -07:00
parent 47219823ab
commit c6c0b1d6ff

View File

@ -5,7 +5,7 @@ from foolscap import RemoteInterface
Nodeid = StringConstraint(20) # binary format 20-byte SHA1 hash
PBURL = StringConstraint(150)
Verifierid = StringConstraint(20)
ShareData = StringConstraint(20000)
ShareData = StringConstraint(100000)
# these four are here because Foolscap does not yet support the kind of
# restriction I really want to apply to these.
RIClient_ = Any()