remove a TODO marker
I have a todo item for this outside the code
This commit is contained in:
parent
c9d63d74d8
commit
dabd05e547
1 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,8 @@ clusterProxySelector clusteruuid protocolversion (Bypass bypass) = do
|
||||||
nodecontaining nodes k = do
|
nodecontaining nodes k = do
|
||||||
locs <- S.fromList <$> loggedLocations k
|
locs <- S.fromList <$> loggedLocations k
|
||||||
case filter (flip S.member locs . remoteUUID) nodes of
|
case filter (flip S.member locs . remoteUUID) nodes of
|
||||||
-- TODO: Avoid always using same remote
|
-- For now, pick the first node that has the
|
||||||
|
-- content. Load balancing would be nice..
|
||||||
(r:_) -> return (Just r)
|
(r:_) -> return (Just r)
|
||||||
[] -> return Nothing
|
[] -> return Nothing
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue