mirror of https://github.com/voidlizard/hbs2
debug
This commit is contained in:
parent
224fbf3cf8
commit
98290d6c76
|
@ -351,7 +351,9 @@ startDownloadStuff :: forall s e m . (ForMailbox s, s ~ Encryption e, MyPeer e,
|
|||
|
||||
startDownloadStuff MailboxProtoWorker{..} href = do
|
||||
liftIO $ withPeerM mpwPeerEnv $ withDownload mpwDownloadEnv
|
||||
$ addDownload @e Nothing (coerce href)
|
||||
$ do
|
||||
debug $ "startDownloadStuff" <+> pretty href
|
||||
addDownload @e Nothing (coerce href)
|
||||
|
||||
listMailboxes :: forall s m . (ForMailbox s, MonadIO m)
|
||||
=> DBPipeEnv
|
||||
|
|
|
@ -312,6 +312,9 @@ addDownload :: forall e m . ( DownloadConstr e m
|
|||
|
||||
addDownload mbh h = do
|
||||
|
||||
-- FIXME: remove-shit
|
||||
debug $ "addDownload" <+> pretty h
|
||||
|
||||
tinq <- asks (view blockInQ)
|
||||
checkQ <- asks (view blockCheckQ)
|
||||
dirty <- asks (view blockInDirty)
|
||||
|
|
Loading…
Reference in New Issue