Displaying 1 result from an estimated 1 matches for "xml_report_work".
Did you mean:
xml_report_worker
2007 Mar 07
10
MiddleMan.worker blocks?
...,false)
args = { :constraints => constraints,
:start_time => start_time,
:report_params => report
}
# For reasons unknown, the following seems to block!
session[:xml_report_job] =
MiddleMan.new_worker(:class => :xml_report_worker, :args => args)
end
def get_progress
...
worker = MiddleMan.worker(session[job])
end
...
end
class XmlReportWorker < BackgrounDRb::Worker::RailsBase
include DRbUndumped
...
def do_work(args)
@progress = 0
@report_start_time = args[:start_ti...