From 5a6af3e4388997af9af61a4c4704c6951e6fa798 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Fri, 24 Jul 2015 17:36:26 +0200 Subject: Reduce number of RSS feeds, bump interval upto 1 hour --- rss.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'rss.go') diff --git a/rss.go b/rss.go index bde4adf..43802ce 100644 --- a/rss.go +++ b/rss.go @@ -11,12 +11,8 @@ import ( var Feed = map[string]string{ "News": `https://www.linux.org.ru/section-rss.jsp?section=1`, - "Forum": `https://www.linux.org.ru/section-rss.jsp?section=2`, - "Gallery": `https://www.linux.org.ru/section-rss.jsp?section=3`, - "Polls": `https://www.linux.org.ru/section-rss.jsp?section=5`, "OpenNET": `http://www.opennet.ru/opennews/opennews_all_noadv.rss`, "Undeadly": `http://undeadly.org/cgi?action=rss`, - "Kernel": `https://www.kernel.org/feeds/kdist.xml`, } type News struct { @@ -24,7 +20,7 @@ type News struct { Item rss.Item } -const timeOut = 5 * time.Minute +const timeOut = time.Hour var news = make(chan News) -- cgit v1.2.3