Commit 84060c6a authored by Daniel Salzman's avatar Daniel Salzman

knotc: increase default control timeout to 10 seconds

parent 4d22fb5f
......@@ -54,7 +54,7 @@ Set maximum configuration size (default is @conf_mapsize@ MiB, maximum 10000 MiB
Use a control UNIX socket path (default is \fB@run_dir@/knot.sock\fP).
.TP
\fB\-t\fP, \fB\-\-timeout\fP \fIseconds\fP
Use a control timeout in seconds. Set 0 for infinity (default is 5).
Use a control timeout in seconds. Set 0 for infinity (default is 10).
.TP
\fB\-f\fP, \fB\-\-force\fP
Forced operation. Overrides some checks.
......
......@@ -31,7 +31,7 @@ Parameters
Use a control UNIX socket path (default is :file:`@run_dir@/knot.sock`).
**-t**, **--timeout** *seconds*
Use a control timeout in seconds. Set 0 for infinity (default is 5).
Use a control timeout in seconds. Set 0 for infinity (default is 10).
**-f**, **--force**
Forced operation. Overrides some checks.
......
/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
/* Copyright (C) 2019 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -26,7 +26,7 @@
#define PROGRAM_NAME "knotc"
#define SPACE " "
#define DEFAULT_CTL_TIMEOUT 5
#define DEFAULT_CTL_TIMEOUT 10
static void print_help(void)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment