From 861a6f1d475f1e6e480b026f0796a6a19b8897a1 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 18 Oct 2011 21:23:17 +0200 Subject: [PATCH] Re-add the blockage to just run once per quarter hour. --- citadel/modules/rssclient/serv_rssclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/citadel/modules/rssclient/serv_rssclient.c b/citadel/modules/rssclient/serv_rssclient.c index e5060ec45..561da6d96 100644 --- a/citadel/modules/rssclient/serv_rssclient.c +++ b/citadel/modules/rssclient/serv_rssclient.c @@ -684,11 +684,11 @@ void rssclient_scan(void) { long len; const char *Key; - /* Run no more than once every 15 minutes. * / + /* Run no more than once every 15 minutes. */ if ((time(NULL) - last_run) < 900) { return; } -*/ + /* * This is a simple concurrency check to make sure only one rssclient run * is done at a time. We could do this with a mutex, but since we -- 2.30.2