Changes between Version 15 and Version 16 of ServerSelection
- Timestamp:
- 2011-04-28T04:10:53Z (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerSelection
v15 v16 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.