mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-23 14:14:56 +02:00
parent
946754536c
commit
fb07c9929a
@ -114,7 +114,10 @@ get_node_by_id(Hash) ->
|
|||||||
|
|
||||||
-spec send({atom(), node()}, term()) -> boolean().
|
-spec send({atom(), node()}, term()) -> boolean().
|
||||||
send(Dst, Msg) ->
|
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.
|
-spec wait_for_sync(timeout()) -> ok.
|
||||||
wait_for_sync(Timeout) ->
|
wait_for_sync(Timeout) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user