search for: crawl_pag

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

Did you mean: crawl_page
2008 Mar 25
0
Questions about backgroundrb
...ack /social_revolution page of myspace and user y wants to track /facebook_suks page of myspace. As you mentioned earlier, tracking itself will be invoked from rails hence, assuming our myspace worker is already started, we will send following data to the worker: MiddleMan.worker(:myspace_worker).crawl_page(:page_name => "social_revolution",:user_id => x) Where crawl_page is a method inside MyspaceWorker. class MyspaceWorker<BackgrounDRb::MetaWorker def create @crawled_data = {} @data_mutex = Mutex.new end def crawl_page options = {} thread_pool.defer(options...