mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
parent
946754536c
commit
fb07c9929a
@ -114,7 +114,10 @@ get_node_by_id(Hash) ->
|
||||
|
||||
-spec send({atom(), node()}, term()) -> boolean().
|
||||
send(Dst, Msg) ->
|
||||
erlang:send(Dst, Msg).
|
||||
case erlang:send(Dst, Msg, [nosuspend, noconnect]) of
|
||||
ok -> true;
|
||||
_ -> false
|
||||
end.
|
||||
|
||||
-spec wait_for_sync(timeout()) -> ok.
|
||||
wait_for_sync(Timeout) ->
|
||||
|
Loading…
Reference in New Issue
Block a user