X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Rakka%2FStorage%2FImpl.hs;h=e1bad11015a987b32d95d079594ae731550f85fb;hb=fcddebcc3cc02ae8d1904b9338334d538019e74a;hp=e699163b6fcecdc5ee639f88c30868efa3b2a42c;hpb=01a4a132192ed8b65c8aa7b86cb0e9bc08b725ff;p=Rakka.git diff --git a/Rakka/Storage/Impl.hs b/Rakka/Storage/Impl.hs index e699163..e1bad11 100644 --- a/Rakka/Storage/Impl.hs +++ b/Rakka/Storage/Impl.hs @@ -107,7 +107,7 @@ startIndexManager :: FilePath -> Repository -> (Page -> IO Document) -> IO (TCha startIndexManager lsdir repos mkDraft = do chan <- newTChanIO index <- openIndex indexDir revFile - forkIO (loop chan index) + _ <- forkIO (loop chan index) return chan where indexDir = lsdir "index"