Displaying 2 results from an estimated 2 matches for "update_feed".
2007 Jun 19
0
recycled objects and gc problem
...y woker
causing the recycled object errors?
class GrabFeedWorker < BackgrounDRb::Worker::RailsBase
  require ''net/http''
  require ''simple-rss''
  def do_work(args)
    Space.find(args[:space]).update_all_syndications if args[:space]
    Feed.find(args[:feed]).update_feed if args[:feed]
    self.delete
  end
end
GrabFeedWorker.register
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070619/7722678a/attachment.html
2006 Jun 14
1
simple-rss caching
The index page of my rails app grabs an rss feed from a neighboring news 
site.  Unfortunately, the process of grabbing that feed seems to be 
slowing down the initial load time of my site to the point where it 
takes about 10-12 seconds to respond and render.
I''d like to speed that up somehow (for 8-10 seconds it looks like my 
server is not responding at all..)  Any suggestions?
I