From a66c3c97a6aeef2a4567f39fe08115782f641a58 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 28 May 2013 00:47:15 +0200 Subject: [PATCH] RSSClient: refresh per message UT-Entries after one day --- citadel/modules/rssclient/serv_rssclient.c | 2 +- citadel/sysconfig.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/citadel/modules/rssclient/serv_rssclient.c b/citadel/modules/rssclient/serv_rssclient.c index 5f1357603..648d02d0b 100644 --- a/citadel/modules/rssclient/serv_rssclient.c +++ b/citadel/modules/rssclient/serv_rssclient.c @@ -418,7 +418,7 @@ eNextState RSS_FetchNetworkUsetableEntry(AsyncIO *IO) if (CheckIfAlreadySeen("RSS Item Seen", Ctx->ThisMsg->MsgGUID, IO->Now, - IO->Now - USETABLE_ANTIEXPIRE, + IO->Now - USETABLE_ANTIEXPIRE_HIRES, eCheckUpdate, IO->ID, CCID) != 0) diff --git a/citadel/sysconfig.h b/citadel/sysconfig.h index 3d9a259d6..a58218bb6 100644 --- a/citadel/sysconfig.h +++ b/citadel/sysconfig.h @@ -99,8 +99,9 @@ /* * How long (in seconds) to retain message entries in the use table */ -#define USETABLE_RETAIN 604800L /* 7 days */ -#define USETABLE_ANTIEXPIRE 345600l /* 4 days */ +#define USETABLE_RETAIN 604800L /* 7 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. -- 2.30.2