Changes between Version 7 and Version 8 of ServerSelection
- Timestamp:
- 2009-12-08T19:00:37Z (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerSelection
v7 v8 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 (source: 20 distinct class, at least for immutable files (source:src/allmydata/immutable/upload.py?rev=4114#L131 {{{Tahoe2PeerSelector}}}). It 21 21 would be pretty easy to make the uploader use different classes according to 22 22 a {{{tahoe.cfg}}} option.