RSSClient: refresh per message UT-Entries after one day
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 27 May 2013 22:47:15 +0000 (00:47 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 27 May 2013 22:47:15 +0000 (00:47 +0200)
citadel/modules/rssclient/serv_rssclient.c
citadel/sysconfig.h

index 5f13576..648d02d 100644 (file)
@@ -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)
index 3d9a259..a58218b 100644 (file)
@@ -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.