diff options
author | Joey Hess <joey@kitenet.net> | 2014-05-09 13:34:36 -0300 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-05-09 13:34:36 -0300 |
commit | b00cfd28713dfd87f6602a06c3117cf91c1c4786 (patch) | |
tree | bbae5d104fa7036d4a0a369dce58a7e7f2bf27a5 /doc/design | |
parent | 77b45f0dbfa89fba10d94c36c2b97232cc4ec8a0 (diff) |
example preferred content expressions
Diffstat (limited to 'doc/design')
-rw-r--r-- | doc/design/requests_routing.mdwn | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/design/requests_routing.mdwn b/doc/design/requests_routing.mdwn index 60c343790..8e9324d39 100644 --- a/doc/design/requests_routing.mdwn +++ b/doc/design/requests_routing.mdwn @@ -78,3 +78,18 @@ Matches files that have been requested by at least N nodes. requested Matches files that the current node has requested. + +### Example preferred content expressions + +For an immobile node that accumulates files it requests, and also +temporarily stores files requested by other such nodes: + + present or requestedby=1 + +For a node that only transfers files between the immobile nodes: + + requestedby=1 + +TODO: Would be nice to be able to prioritize files that more nodes are +requesting, or that have some urgent flag set. But currently there is no +way to do that; content is either preferred or not preferred. |