]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Do not use get_cached for RSS until we have proper cache handling
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 28 Jul 2006 14:03:52 +0000 (14:03 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 28 Jul 2006 14:03:52 +0000 (14:03 +0000)
data/rbot/plugins/rss.rb

index 8f5420c5ea73d228ee759fcb17f6bb62cc0388a0..d976c4126446252c7068dddf805264b318df8041 100644 (file)
@@ -485,7 +485,9 @@ class RSSFeedsPlugin < Plugin
   def fetchRss(feed, m=nil)\r
     begin\r
       # Use 60 sec timeout, cause the default is too low\r
-      xml = @bot.httputil.get_cached(feed.url,60,60)\r
+      # Do not use get_cached for RSS until we have proper cache handling\r
+      # xml = @bot.httputil.get_cached(feed.url,60,60)\r
+      xml = @bot.httputil.get(feed.url,60,60)\r
     rescue URI::InvalidURIError, URI::BadURIError => e\r
       report_problem("invalid rss feed #{feed.url}", e, m)\r
       return\r