search for: correlator_work

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

Did you mean: correlator_worker
2007 Dec 13
1
Possible Bug & Question
...sionally I''d lose Result hashes or the workers wouldn''t get created at all, so with the new version I''m trying to use only one worker and report individual correlations through a results hash, like so: def CorrelatorWorker < BackgrounDRb::MetaWorker set_worker_name :correlator_worker def create(arg) @results = Hash.new end def correlate(user_id) # This stuff takes awhile... @results[user_id] = progress register_status(@results) end end So in my code I can say MiddleMan.ask_status(:worker=>:correlator_worker)[user_id] to find the progress of correlations for a s...