summaryrefslogtreecommitdiff
path: root/interface-definitions/include/haproxy/timeout.xml.i
blob: 250b3568308048098c32542b31638593260c95fc (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
33
34
35
36
37
38
39
40
41
42
43
44
45
<!-- include start from haproxy/timeout.xml.i -->
<node name="timeout">
  <properties>
    <help>Tiemout options</help>
  </properties>
  <children>
    <leafNode name="check">
      <properties>
        <help>Timeout in seconds for established connections</help>
        <valueHelp>
          <format>u32:1-3600</format>
          <description>Check timeout in seconds</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 1-3600"/>
        </constraint>
      </properties>
    </leafNode>
    <leafNode name="connect">
      <properties>
        <help>Set the maximum time to wait for a connection attempt to a server to succeed</help>
        <valueHelp>
          <format>u32:1-3600</format>
          <description>Connect timeout in seconds</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 1-3600"/>
        </constraint>
      </properties>
    </leafNode>
    <leafNode name="server">
      <properties>
        <help>Set the maximum inactivity time on the server side</help>
        <valueHelp>
          <format>u32:1-3600</format>
          <description>Server timeout in seconds</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 1-3600"/>
        </constraint>
      </properties>
    </leafNode>
  </children>
</node>
<!-- include end -->