search for: correlatorworker

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

Did you mean: correlator_worker
2007 Dec 13
1
Possible Bug & Question
...for them. This was a pretty ugly method of doing things and occassionally 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=>:correla...