remove a TODO marker

I have a todo item for this outside the code
This commit is contained in:
Joey Hess 2024-06-27 13:36:04 -04:00
parent c9d63d74d8
commit dabd05e547
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -147,7 +147,8 @@ clusterProxySelector clusteruuid protocolversion (Bypass bypass) = do
nodecontaining nodes k = do
locs <- S.fromList <$> loggedLocations k
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)
[] -> return Nothing