From 0594197af7a4a11795150a85fafa7fa5bc6fc4f5 Mon Sep 17 00:00:00 2001 From: grunfink Date: Wed, 28 May 2025 09:16:23 +0200 Subject: Renamed server knob to 'rss_hashtag_poll_hours'. --- httpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'httpd.c') diff --git a/httpd.c b/httpd.c index c94a542..15634d1 100644 --- a/httpd.c +++ b/httpd.c @@ -757,7 +757,7 @@ static void *background_thread(void *arg) /* time to poll the RSS? */ if (t > rss_time) { /* next RSS poll time */ - int hours = xs_number_get(xs_dict_get_def(srv_config, "rss_poll_hours", "4")); + int hours = xs_number_get(xs_dict_get_def(srv_config, "rss_hashtag_poll_hours", "4")); /* don't hammer servers too much */ if (hours < 1) @@ -766,7 +766,7 @@ static void *background_thread(void *arg) rss_time = t + 60 * 60 * hours; xs *q_item = xs_dict_new(); - q_item = xs_dict_append(q_item, "type", "rss_poll"); + q_item = xs_dict_append(q_item, "type", "rss_hashtag_poll"); job_post(q_item, 0); } -- cgit v1.2.3