From 4e3fa1a77666089763fe3111be96d7ad3925dbfe Mon Sep 17 00:00:00 2001 From: Alban Crequy Date: Tue, 8 Jul 2014 12:00:58 +0100 Subject: [PATCH] config: change default auth_timeout to 5 seconds This will change the default on the system bus where the limit ... is not specified. https://bugs.freedesktop.org/show_bug.cgi?id=80919 --- bus/config-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bus/config-parser.c b/bus/config-parser.c index a6a8e1c..d585432 100644 --- a/bus/config-parser.c +++ b/bus/config-parser.c @@ -438,7 +438,7 @@ bus_config_parser_new (const DBusString *basedir, * and legitimate auth will fail. If interactive auth (ask user for * password) is allowed, then potentially it has to be quite long. */ - parser->limits.auth_timeout = 30000; /* 30 seconds */ + parser->limits.auth_timeout = 5000; /* 5 seconds */ parser->limits.max_incomplete_connections = 64; parser->limits.max_connections_per_user = 256; -- 1.8.5.3