From: Frank Lahm Date: Wed, 23 Feb 2011 09:40:58 +0000 (+0100) Subject: Disconnected state duration is 10 h X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=commitdiff_plain;h=6dc7d1ff6d861468a7f0779dfcf2a16c53385805 Disconnected state duration is 10 h --- diff --git a/etc/afpd/afp_options.c b/etc/afpd/afp_options.c index 6d5fb0df..e5138217 100644 --- a/etc/afpd/afp_options.c +++ b/etc/afpd/afp_options.c @@ -160,8 +160,8 @@ void afp_options_init(struct afp_options *options) options->passwdfile = _PATH_AFPDPWFILE; options->tickleval = 30; options->timeout = 4; /* 4 tickles = 2 minutes */ - options->sleep = 10* 120; /* 10 h in 30 seconds tick */ - options->disconnected = 20; /* 20 * 30 s (default tickleval) = 10 minutes */ + options->sleep = 10 * 60 * 2; /* 10 h in 30 seconds tick */ + options->disconnected = 10 * 60 * 2; /* 10 h in 30 seconds tick */ options->server_notif = 1; options->authprintdir = NULL; options->signatureopt = "auto";