X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/6fcb8629ae638cceeead036a7240821c9886fe0f..6c7315ec36fd3e74da6a0220c04625bd23c31596:/include/defaults.h diff --git a/include/defaults.h b/include/defaults.h index 99d6447..b3e7fd1 100644 --- a/include/defaults.h +++ b/include/defaults.h @@ -21,7 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: defaults.h 3354 2007-04-03 09:21:31Z nenolod $ */ #ifndef INCLUDED_defaults_h @@ -34,6 +33,9 @@ /* * First, set other fd limits based on values from user */ + + +#define MAXCONNECTIONS 65535 /* default max connections if getrlimit doesn't work */ /* class {} default values */ #define DEFAULT_SENDQ 20000000 /* default max SendQ */ #define PORTNUM 6667 /* default outgoing portnum */ @@ -52,7 +54,7 @@ #define CLIENT_FLOOD_MIN 10 #define LINKS_DELAY_DEFAULT 300 #define MAX_TARGETS_DEFAULT 4 /* default for max_targets */ -#define IDENT_TIMEOUT 10 +#define IDENT_TIMEOUT 5 #define MIN_JOIN_LEAVE_TIME 60 #define MAX_JOIN_LEAVE_COUNT 25 #define OPER_SPAM_COUNTDOWN 5