From: Giuseppe Bilotta Date: Fri, 28 Jul 2006 14:03:52 +0000 (+0000) Subject: Do not use get_cached for RSS until we have proper cache handling X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=571bb66a39be594f7d5af00336e3123ba00ea25c;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git Do not use get_cached for RSS until we have proper cache handling --- diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index 8f5420c5..d976c412 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -485,7 +485,9 @@ class RSSFeedsPlugin < Plugin def fetchRss(feed, m=nil) begin # Use 60 sec timeout, cause the default is too low - xml = @bot.httputil.get_cached(feed.url,60,60) + # Do not use get_cached for RSS until we have proper cache handling + # xml = @bot.httputil.get_cached(feed.url,60,60) + xml = @bot.httputil.get(feed.url,60,60) rescue URI::InvalidURIError, URI::BadURIError => e report_problem("invalid rss feed #{feed.url}", e, m) return