mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Comment.
SVN Revision: 938
This commit is contained in:
parent
78e6eb58d4
commit
653e6c1791
@ -266,6 +266,7 @@ find_connection(From, To) ->
|
||||
end.
|
||||
|
||||
choose_connection(From, Connections) ->
|
||||
% use sticky connections based on the full JID of the sender
|
||||
El = lists:nth(erlang:phash(From, length(Connections)), Connections),
|
||||
%El = lists:nth(random:uniform(length(Connections)), Connections),
|
||||
?ERROR_MSG("XXX using ejabberd_s2s_out ~p~n", [El#s2s.pid]),
|
||||
|
Loading…
Reference in New Issue
Block a user