Debian Codegraph @

doc/antora/modules/unlang/pages/load-balance.adoc

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