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
|
startDownloadStuff MailboxProtoWorker{..} href = do
|
||||||
liftIO $ withPeerM mpwPeerEnv $ withDownload mpwDownloadEnv
|
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)
|
listMailboxes :: forall s m . (ForMailbox s, MonadIO m)
|
||||||
=> DBPipeEnv
|
=> DBPipeEnv
|
||||||
|
|
|
@ -312,6 +312,9 @@ addDownload :: forall e m . ( DownloadConstr e m
|
||||||
|
|
||||||
addDownload mbh h = do
|
addDownload mbh h = do
|
||||||
|
|
||||||
|
-- FIXME: remove-shit
|
||||||
|
debug $ "addDownload" <+> pretty h
|
||||||
|
|
||||||
tinq <- asks (view blockInQ)
|
tinq <- asks (view blockInQ)
|
||||||
checkQ <- asks (view blockCheckQ)
|
checkQ <- asks (view blockCheckQ)
|
||||||
dirty <- asks (view blockInDirty)
|
dirty <- asks (view blockInDirty)
|
||||||
|
|
Loading…
Reference in New Issue