summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-31 17:44:14 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-12-31 17:44:14 +0100
commit363e794df318080ea8f1878f95027161bb82b513 (patch)
tree2a20203708274029d09718f9369cb5059e70acc1 /main.c
parent4f73862b48183465adfd30a2f7fc2b5a7dab12a3 (diff)
set a default for script timeout
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 09c66c4..00e43cf 100644
--- a/main.c
+++ b/main.c
@@ -159,6 +159,7 @@ static int usage(const char *name)
static void init_defaults(void)
{
+ conf.script_timeout = 60;
conf.network_timeout = 30;
conf.http_keepalive = 0; /* fixme */
conf.max_requests = 3;