search for: rss_worker

Displaying 4 results from an estimated 4 matches for "rss_worker".

Did you mean: ask_worker
2007 Dec 23
0
Updates and Fixes and more of awesome stuff
1. Whenever you ask BackgrounDRb to perform a particular task using: MiddleMan.ask_work(:worker => :rss_worker,:worker_method => :fetch_url, :data => "www.google.com") Your task would be performed then and there. But, if your worker is busy, task won''t be queued, except in socket buffer. And your request may get lost. This isn''t generally a problem with tasks that is bein...
2006 Jul 26
4
BackgrounDRb - uninitialized constant
I installed BackgrounDRB as instructed: script/plugin install svn://rubyforge.org//var/svn/backgroundrb rake backgroundrb:setup I started it with: rake backgroundrb:start In a model I make the call: MiddleMan.new_worker :class => :rss_worker In /lib/workers I have file rss_worker.rb, which contains the class: Class RssWorker < BackgrounDRb::Rails def do_work(args) ... end end It seems like I have everything setup right, but I get the following NameError: uninitialized constant RssWorker Any ideas? It''s proba...
2006 Nov 21
0
Reusable workers
..., it will go to work; otherwise, the request gets queued up. But in my case, I''d like to be able to delegate work to ANY worker that''s available, so the requests get serviced much more quickly. Just as an idea, I thought that it might be cool if Middleman.new_worker(:class => :rss_worker) would pick up an available worker from the pool and make it go to work :) To my knowledge, this kind of feature isn''t available yet, but if anyone knows of a way this could be done, I''d appreciate any help. Thank you! David -------------- next part -------------- An HTML attach...
2008 Jan 22
11
Unable to load Models which reference plugins?
I''m using a plugin which adds a method to ActiveRecord::Base http://similetimelinerailshelper.googlecode.com/svn/trunk/simile_timeline/ This adds an "acts_as" type declaration to the Models, via the file in vendor/plugins/simile_timeline/lib/simile_timeline.rb Rails is working with these declarations, and they are being used successfully in ''regular