From: Gabriel B. <sh...@us...> - 2005-09-04 18:57:42
|
Update of /cvsroot/solidircd/solidircd-stable/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4862/include Modified Files: config.h Log Message: bleh Index: config.h =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/include/config.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** config.h 4 Sep 2005 05:24:13 -0000 1.11 --- config.h 4 Sep 2005 18:57:33 -0000 1.12 *************** *** 322,325 **** --- 322,355 ---- #define KLINE_STORE_COMPACT_THRESH 1000 + + + /* + * DEFAULT_GLINE_TIME + * + * Define this to the default time for a gline (in minutes) for glines with + * unspecified times. A time of 0 will create a permanent gline. + */ + #define DEFAULT_GLINE_TIME 30 + + + /* + * GLINE_MIN_STORE_TIME + * + * The minimum duration (in minutes) a gline must be before it will be stored + * in the on-disk journal. + */ + + #define GLINE_MIN_STORE_TIME 180 + + /* + * GLINE_STORE_COMPACT_THRESH + * + * The maximum number of entries to write to the active gline storage journal + * before compacting it. This threshold prevents the journal from growing + * indefinitely while glines are added and removed on a running server. + */ + + #define GLINE_STORE_COMPACT_THRESH 1000 + /* * Pretty self explanatory: These are shown in server notices and to the |