search for: read_object

Displaying 1 result from an estimated 1 matches for "read_object".

Did you mean: load_object
2008 Jun 10
3
Backgroundrb fixes for transfering large amounts of data
...@data = [] @parser_state = 0 @length_string = "" @numeric_length = 0 extract(remaining,&extracter_block) end end The second problem we hit was ask_status repeatedly returning nil. The root cause of this problem is in the read_object method of the BackgrounDRb::WorkerProxy class when a data record is large enough to cause connection.read_nonblock to throw the Errno::EAGAIN exception multiple times. We changed the code to make sure read_nonblock is called repeatedly until the tokenizer finds a complete record, and this fixed th...