[Twisted-Python] banana SIZE_LIMIT

Hi, Are they some simple ways (keeping existing interface) around BananaError for long values returned from PB methods?

On Mar 18, 2013, at 7:49 AM, Sergey Gerasimov <sergun@gmail.com> wrote:
Don't return long values. They block the connection. Chunk them up and stream them asynchronously by repeatedly calling a method to buffer them up, and then add a .finish() method that takes the buffered data and invokes your original logic. -glyph

On Mar 18, 2013, at 7:49 AM, Sergey Gerasimov <sergun@gmail.com> wrote:
Don't return long values. They block the connection. Chunk them up and stream them asynchronously by repeatedly calling a method to buffer them up, and then add a .finish() method that takes the buffered data and invokes your original logic. -glyph
participants (3)
-
exarkun@twistedmatrix.com
-
Glyph
-
Sergey Gerasimov