Displaying 1 result from an estimated 1 matches for "smallworker".
Did you mean:
small_worker
2008 Jun 04
0
Large requests break BackgrounDRb
Hello, I think I may have discovered a bug in BackgrounDRb. It seems that
when the data being requested is large (via send_request), say in the range of
64k+, it crashes or at least incapacitates BackgrounDRb.
For example, take these two workers:
class SmallWorker < BackgrounDRb::MetaWorker
set_worker_name :small_worker
set_no_auto_load(true)
attr_reader :payload
def create(args)
@payload = ''s '' * 512
end
end
class LargeWorker < BackgrounDRb::MetaWorker
set_worker_name :large_worker
set_no_auto_load(true)
attr_...