search for: processcdr

Displaying 2 results from an estimated 2 matches for "processcdr".

Did you mean: process_cdr
2006 Jul 18
7
backgroundrb and autotest
Hi, First, thanks for the plugin. Sorry if this is not strictly a backgroundrb issue but I thought others on this list might have come across this problem. I''m trying to run the test that comes via the worker generator. The test works fine when running ''rake test_functional'', but when the tests are run by autotest I get "uninitialized constant BackgrounDRb"
2006 Jul 31
0
MY worker won''t stop working
...e code in do_work to return. My woker method stop_work calls processs_cdr.stop_process: def stop_work @process_cdr.stop_process end def do_work(args) # This method is called in it''s own new thread when you # call new worker. args is set to :args if args @process_cdr = ProcessCdr.new(args) else @process_cdr = ProcessCdr.new end @process_cdr.process end When @running is set to false the loop breaks and process() returns. This is the main code from the process_cdr class: def stop_process @running = false end def process @running = true @time_sta...