Skip to content
Snippets Groups Projects
Commit e4eb7f2e authored by Daniel Salzman's avatar Daniel Salzman
Browse files

knotc: increase default control timeout to 60 seconds

parent ce10297c
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ Set maximum size of the configuration database
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 to 0 for infinity (default is 10).
Use a control timeout in seconds. Set to 0 for infinity (default is 60).
The control socket operations are also subject to the timeout
parameter set on the server side in server\(aqs Control configuration section.
.TP
......
......@@ -32,7 +32,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 to 0 for infinity (default is 10).
Use a control timeout in seconds. Set to 0 for infinity (default is 60).
The control socket operations are also subject to the :ref:`timeout<control_timeout>`
parameter set on the server side in server's Control configuration section.
......
/* Copyright (C) 2019 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
/* Copyright (C) 2020 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 10
#define DEFAULT_CTL_TIMEOUT 60
static void print_help(void)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment