generalise CacheEntry type

contributes to #24
This commit is contained in:
Trolli Schmittlauch 2020-07-15 01:26:10 +02:00
parent 8ade04e48d
commit 42af6afb86
4 changed files with 23 additions and 21 deletions

View file

@ -20,7 +20,7 @@ main = do
-- ToDo: load persisted caches, bootstrapping nodes …
(serverSock, thisNode) <- fediChordInit conf
-- currently no masking is necessary, as there is nothing to clean up
cacheWriterThread <- forkIO $ cacheWriter thisNode
nodeCacheWriterThread <- forkIO $ nodeCacheWriter thisNode
-- try joining the DHT using one of the provided bootstrapping nodes
joinedState <- tryBootstrapJoining thisNode
either (\err -> do