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 5f1357603df48ffdb838948c6f301a4e5fa308a6..648d02d0b4c40353e879fd1dc7a85343764eb829 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 3d9a259d61e2f2bd9e245d582829dcf5e36ee62e..a58218bb6630f8172871cf5c5b242bbe4fb94e01 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.