From a77c47c6dd23dabab3b080dfcfa68bf75c3395ca Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 21 Nov 2004 22:01:40 +0000 Subject: [PATCH] Move authentication timeout to baconfig.h git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1714 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/baconfig.h | 9 +++++++++ bacula/src/version.h | 6 ------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/bacula/src/baconfig.h b/bacula/src/baconfig.h index da517642f6..db85a20c19 100644 --- a/bacula/src/baconfig.h +++ b/bacula/src/baconfig.h @@ -94,6 +94,15 @@ #define DEV_BSIZE 512 #endif +/* + * Set to time limit for other end to respond to + * authentication. Normally 10 minutes is *way* + * more than enough. The idea is to keep the Director + * from hanging because there is a dead connection on + * the other end. + */ +#define AUTH_TIMEOUT 60 * 10 + /* * Default network buffer size */ diff --git a/bacula/src/version.h b/bacula/src/version.h index 58a9cc9b05..b863263b6a 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -15,12 +15,6 @@ #define DEVELOPER 1 -/* - * Set to time limit for other end to respond to - * authentication. Normally 10 minutes is *way* - * more than enough. - */ -#define AUTH_TIMEOUT 60 * 1000 /* Debug flags not normally turned on */ -- 2.39.5