Displaying 1 result from an estimated 1 matches for "producer_arg".
Did you mean:
producer_args
2007 Nov 12
0
Workers calling Workers
...when we try and reference a
worker from another we get a RangeError telling us that Ruby is trying
to access a recycled object (My guess is that its asking for junk Memory
Address).
Here''s the relevant code and error. The exception is being thrown on
the last line of the code:
producer_args = {:report_id => report.id, :args =>
YAML.load(report.args)}
producer_args.merge!(:debug_mode => true) if @debug_mode
task.middleman.new_worker(:class =>
"#{task.worker_name}_#{TaskManager::Task::WORKER_POSTFIX}".to_sym,
:job_key =...