]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
Add IPeerSelector interface from #1382, modified slightly.
authorKevan <kevan@isnotajoke.com>
Sat, 14 Jan 2012 20:11:22 +0000 (12:11 -0800)
committerDaira Hopwood <david-sarah@jacaranda.org>
Thu, 25 Apr 2013 16:49:29 +0000 (17:49 +0100)
commit2e0ff81e168bf5d9741ad44b76b2448e4a2d0814
tree2beb0566b8ae6a8a5cccdb5cce15a4adfd437201
parentd7e71cd22b78f1dde0c69e7e09cf34987b8bc748
Add IPeerSelector interface from #1382, modified slightly.

Instead of dealing with only share assignments, we'll think of the peer
selector as dealing with tasks. It can ask its caller to inquire about
the state of the grid, and to place shares. I'm not sure if there's a
use case for other types of inquiry, or if we need to support them. Peer
selection is complete when there are no more tasks.
src/allmydata/interfaces.py