mirror of https://github.com/voidlizard/hbs2
works-but-slow
This commit is contained in:
parent
5c46d7cec0
commit
e390cc8c5d
|
@ -275,7 +275,7 @@ instance ( HasProtocol e p
|
||||||
void $ liftIO $ atomically $ modifyTVar' se (HashMap.delete sk)
|
void $ liftIO $ atomically $ modifyTVar' se (HashMap.delete sk)
|
||||||
pers <- forM subs $ \r -> do
|
pers <- forM subs $ \r -> do
|
||||||
ev <- MaybeT $ pure $ fromDynamic @(EventHandler e p (PeerM e IO)) r
|
ev <- MaybeT $ pure $ fromDynamic @(EventHandler e p (PeerM e IO)) r
|
||||||
lift $ ev d
|
liftIO $ withPeerM env $ ev d
|
||||||
if isPersistent @(Event e p) then
|
if isPersistent @(Event e p) then
|
||||||
pure [r]
|
pure [r]
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue