]> arthur.barton.de Git - netatalk.git/commitdiff
Disconnected state duration is 10 h
authorFrank Lahm <franklahm@googlemail.com>
Wed, 23 Feb 2011 09:40:58 +0000 (10:40 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Wed, 23 Feb 2011 09:40:58 +0000 (10:40 +0100)
etc/afpd/afp_options.c

index 6d5fb0dfcf371efe211fa971b64caa2a26125f84..e513821789bac0dba5e197a8336be5182baf4464 100644 (file)
@@ -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";