25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

* doc/guide.tex: Document the option max_s2s_connections

SVN Revision: 1307
This commit is contained in:
Badlop 2008-04-28 18:07:23 +00:00
parent edf1ed5c87
commit 1cbfc60570
2 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-04-28 Badlop <badlop@process-one.net>
* doc/guide.tex: Document the option max_s2s_connections
2008-04-28 Christophe Romain <christophe.romain@process-one.net> 2008-04-28 Christophe Romain <christophe.romain@process-one.net>
* src/mod_pubsub/mod_pubsub.erl: remove unused served_hosts option * src/mod_pubsub/mod_pubsub.erl: remove unused served_hosts option

View File

@ -1255,6 +1255,30 @@ Examples:
\end{verbatim} \end{verbatim}
\end{itemize} \end{itemize}
\subsubsection{Several connections to a remote Jabber server with ACL}
\label{configmaxs2sconns}
\ind{options!max\_s2s\_connections}
The special access \term{max\_s2s\_connections} specifies how many
simultaneus S2S connections can be stablished to a specific remote Jabber server.
The default value is \term{1}.
There's also available the access \term{max\_s2s\_connections\_per\_node}.
The syntax is:
\begin{verbatim}
{access, max_s2s_connections, [{<maxnumber>, <aclname>},
...
]}.
\end{verbatim}
Examples:
\begin{itemize}
\item Allow up to 3 connections with each remote server:
\begin{verbatim}
{access, max_s2s_connections, [{3, all}]}.
\end{verbatim}
\end{itemize}
\subsection{Shapers} \subsection{Shapers}
\label{shapers} \label{shapers}
\ind{options!shaper}\ind{options!maxrate}\ind{shapers}\ind{maxrate}\ind{traffic speed} \ind{options!shaper}\ind{options!maxrate}\ind{shapers}\ind{maxrate}\ind{traffic speed}