From: Kern Sibbald Date: Sun, 21 Nov 2004 22:01:40 +0000 (+0000) Subject: Move authentication timeout to baconfig.h X-Git-Tag: Release-1.36.1~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aad2ecfa64c1eb01a41ebe19416527cd140ae510;p=bacula%2Fbacula Move authentication timeout to baconfig.h git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1714 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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 */