HAProxy Enterprise Documentation 2.4r1

set timeout cli

Change the timeout period for an interactive session with the Runtime API.


The time limit for an interactive session defaults to the value set with the stats timeout directive in the global section of your configuration. You can change it to a number of seconds with the set timeout cli command during the interactive session. The new time limit affects the current session only.


To set the timeout period:

  1. Connect to the Runtime API socket:

    $ sudo socat stdio unix-connect:/var/run/hapee-2.4/hapee-lb.sock
  2. Start an interactive session:

  3. Change the timeout to 10 minutes (600 seconds):

    set timeout cli 600

See also

Next up

set var