Changes between Version 16 and Version 17 of ServerSelection
- Timestamp:
- 2011-04-28T04:11:22Z (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerSelection
v16 v17 20 20 Having a function or class to control server-selection is a great idea. The 21 21 current code already separates out responsibility for server-selection into a 22 distinct class, at least for immutable files [source:src/allmydata/immutable/upload.py?rev=4114#L131 {{{Tahoe2PeerSelector}}}]. It22 distinct class, at least for immutable files [source:src/allmydata/immutable/upload.py?rev=4114#L131 Tahoe2PeerSelector]. It 23 23 would be pretty easy to make the uploader use different classes according to 24 24 a {{{tahoe.cfg}}} option.