search for: grabfeedwork

Displaying 1 result from an estimated 1 matches for "grabfeedwork".

Did you mean: grabfeedworker
2007 Jun 19
0
recycled objects and gc problem
...r that come from the app so I''m not sure what is being gc''d that is causing the errors. You can see that the real work isn''t being done in the drb but in my models. I do this to help ease testing of these methods. Is my 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 GrabFeedWo...