From a01aa214be2a8e5a9d1d5b8e189008a6c200bd76 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 24 Jul 2020 12:58:23 -0400 Subject: [PATCH] enable location log precaching for mirror It will be some perf increase, but the command is not much used so I have not bothered to benchmark it. --- Command/Mirror.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/Mirror.hs b/Command/Mirror.hs index 4bdeccc774..ed223e7de4 100644 --- a/Command/Mirror.hs +++ b/Command/Mirror.hs @@ -54,7 +54,7 @@ seek o = startConcurrency stages $ seeker = AnnexedFileSeeker { startAction = start o , checkContentPresent = Nothing - , usesLocationLog = False + , usesLocationLog = True } start :: MirrorOptions -> RawFilePath -> Key -> CommandStart