]> git.sur5r.net Git - bacula/bacula/commitdiff
Move authentication timeout to baconfig.h
authorKern Sibbald <kern@sibbald.com>
Sun, 21 Nov 2004 22:01:40 +0000 (22:01 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 21 Nov 2004 22:01:40 +0000 (22:01 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1714 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/baconfig.h
bacula/src/version.h

index da517642f6cd5b43eb48d5eacefbe09f996b17d2..db85a20c197e9a70a160353f9210e163f03c1ed2 100644 (file)
 #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
  */
index 58a9cc9b05ae344da3ef8ebf86a90e0e9d825736..b863263b6a1e26ad1443990c2bcb801cb668af20 100644 (file)
 #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 */