blob: d64b1615901a606f07518cce4cd5ba7e12b184d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
= The load-balance Statement
.Syntax
[source,unlang]
----
load-balance {
[ statements ]
}
----
The `load-balance` section is similar to the `redundant` section
except that only one module in the subsection is ever called.
In general, the
xref:redundant-load-balance.adoc[redundant-load-balance] statement is
more useful than this one.
[ statements ]:: One or more `unlang` commands. Only one of the
statements is executed.
.Examples
[source,unlang]
----
load-balance &User-Name {
sql1
sql2
}
----
// Copyright (C) 2020 Network RADIUS SAS. Licenced under CC-by-NC 4.0.
// Development of this documentation was sponsored by Network RADIUS SAS.
|