Changes between Version 4 and Version 5 of ServerSelection
- Timestamp:
- 2009-12-08T17:37:24Z (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerSelection
v4 v5 18 18 Having a function or class to control server-selection is a great idea. The 19 19 current code already separates out responsibility for server-selection into a 20 distinct class, at least for immutable files 21 (source:src/allmydata/immutable/upload.py#L131 {{{Tahoe2PeerSelector}}}). It 20 distinct class, at least for immutable files (source: src/allmydata/immutable/upload.py?rev=4114#L131 {{{Tahoe2PeerSelector}}}). It 22 21 would be pretty easy to make the uploader use different classes according to 23 22 a {{{tahoe.cfg}}} option.