search for: process_cdr

Displaying 3 results from an estimated 3 matches for "process_cdr".

2006 Jul 31
0
MY worker won''t stop working
...hed. I''m not using a system call or any external program in my worker. It''s main function is to read data from a file into a database. I''ve been successful in getting the worker to stop now by adding a stop_work method to my worker which sets @running to false in the process_cdr class and causes the 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...
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 10
0
Lost connection to MySQL server during query (Mysql::Error)
...1092:in `read'': Lost connection to MySQL server during query (Mysql::Error) from ./lib/cdr_processor_aapt.rb:39:in `join'' from ./lib/cdr_processor_aapt.rb:39:in `process'' from ./lib/cdr_processor_aapt.rb:39:in `process'' from ./lib/process_cdr.rb:26:in `process'' from ./lib/process_cdr.rb:17:in `process'' from process.rb:22 After googling I still can''t find an answer. Your help is much appreciated. Thanks, Chris.