From 1d51f18dd0be1125415c11f058aef695d6da9c41 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 24 Aug 2024 09:34:22 -0400 Subject: [PATCH] remove FIXME Using NoLiveUpdate here is appropriate, because this is running the server side of the P2P protocol. There no preferred content checking is done. --- P2P/Annex.hs | 2 -- 1 file changed, 2 deletions(-) diff --git a/P2P/Annex.hs b/P2P/Annex.hs index 411cf4b82d..c4328547a2 100644 --- a/P2P/Annex.hs +++ b/P2P/Annex.hs @@ -121,7 +121,6 @@ runLocal runst runner a = case a of Right (Left e) -> return $ Left e Right (Right ok) -> runner (next ok) SetPresent k u next -> do - -- FIXME: Can a live update be done here? v <- tryNonAsync $ logChange NoLiveUpdate k u InfoPresent case v of Left e -> return $ Left $ ProtoFailureException e @@ -133,7 +132,6 @@ runLocal runst runner a = case a of Right result -> runner (next result) RemoveContent k mts next -> do let cleanup = do - -- FIXME: Can a live update be done here? logStatus NoLiveUpdate k InfoMissing return True let checkts = case mts of