Changes between Version 4 and Version 5 of ServerSelection


Ignore:
Timestamp:
2009-12-08T17:37:24Z (14 years ago)
Author:
zooko
Comment:

link to specific version of source code

Legend:

Unmodified
Added
Removed
Modified
  • ServerSelection

    v4 v5  
    1818Having a function or class to control server-selection is a great idea. The
    1919current 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
     20distinct class, at least for immutable files (source: src/allmydata/immutable/upload.py?rev=4114#L131 {{{Tahoe2PeerSelector}}}). It
    2221would be pretty easy to make the uploader use different classes according to
    2322a {{{tahoe.cfg}}} option.