This commit is contained in:
voidlizard 2025-02-11 10:27:32 +03:00
parent c093c9237b
commit 9d0f1f7976
2 changed files with 3 additions and 2 deletions

View File

@ -42,7 +42,8 @@ newMessagingUDPMulticast s = runMaybeT $ do
(host, port) <- MaybeT $ pure $ getHostPort (Text.pack s)
so <- liftIO $ multicastReceiver host port
so <- liftIO (try @_ @SomeException $ multicastReceiver host port)
>>= toMPlus
liftIO $ setSocketOption so ReuseAddr 1

View File

@ -844,7 +844,7 @@ runPeer opts = respawnOnError opts $ do
mcast <- newMessagingUDPMulticast defLocalMulticast
`orDie` "Can't start RPC listener"
`orDie` "Can't start multicast listener"
messMcast <- async $ runMessagingUDP mcast