X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fsysconfig.h;h=5af00b02318b1ae0da8dd621ec95f950b175a10f;hb=986d5323ec0c189efd573558c02ae13573ec7536;hp=97ecc1dff8e55e3415f1baf08919a485e85e6ff4;hpb=56d69e5d8434e98835a2582c59b771ba69475431;p=citadel.git diff --git a/citadel/sysconfig.h b/citadel/sysconfig.h index 97ecc1dff..5af00b023 100644 --- a/citadel/sysconfig.h +++ b/citadel/sysconfig.h @@ -1,7 +1,16 @@ /* - * NOTE: this file is for client software tuning, not customization. For - * making changes to the behavior of the client, you want to edit citadel.rc, - * not this file. + * Tuning of various parameters of the system. + * Normally you don't want to mess with any of this. + * + * Copyright (c) 1987-2017 by the citadel.org team + * + * This program is open source software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. */ /* @@ -11,14 +20,6 @@ */ #define CHATLOG "/dev/null" -/* - * S_KEEPALIVE is a watchdog timer. It is used to send "keep - * alive" messages to the server to prevent the server from assuming the - * client is dead and terminating the session. 30 seconds is the recommended - * value; I can't think of any good reason to change it. - */ -#define S_KEEPALIVE 30 - /* * Logging level to use if none is specified on the command line. * Note that this will suppress messages before they even get to syslog(). @@ -96,7 +97,6 @@ #define SYSCONFIGROOM "Local System Configuration" #define SMTP_SPOOLOUT_ROOM "__CitadelSMTPspoolout__" #define FNBL_QUEUE_ROOM "__CitadelFNBLqueue__" -#define PAGER_QUEUE_ROOM "__CitadelPagerQueue__" /* * Where we keep messages containing the vCards that source our directory. It * makes no sense to change this, because you'd have to change it on every @@ -107,7 +107,9 @@ /* * How long (in seconds) to retain message entries in the use table */ -#define USETABLE_RETAIN 604800L /* 7 days */ +#define USETABLE_RETAIN 864000L /* 10 days */ +#define USETABLE_ANTIEXPIRE 345600L /* 4 days */ +#define USETABLE_ANTIEXPIRE_HIRES 86400L /* 1 day */ /* * The size of per-thread stacks. If set too low, citserver will randomly crash.