You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printfn "Waiting for terminating of message systems..."
do! telegramSystem
do! xmppSystem
As you can see, nothing stops any message system from completely failing (i.e. kill the child async started in startMessageSystem), but the actor system (i.e. the whole app) will still live.
We need to stop the whole application on critical failures (e.g. dead message system).
Take into account that throwing an error from a system.Run is a very unusual event: usually the message system will just restart itself without terminating Run.
The text was updated successfully, but these errors were encountered:
Currently this code manages the application lifetime:
emulsion/Emulsion/Program.fs
Lines 25 to 58 in 877144c
As you can see, nothing stops any message system from completely failing (i.e. kill the child async started in
startMessageSystem
), but the actor system (i.e. the whole app) will still live.We need to stop the whole application on critical failures (e.g. dead message system).
Take into account that throwing an error from a
system.Run
is a very unusual event: usually the message system will just restart itself without terminatingRun
.The text was updated successfully, but these errors were encountered: