Mercurial > code > home > repos > homeauto
changeset 1134:39c8ddd79cf2
allow bigger eventsource messages
Ignore-this: 97608d5f5b1059c9b92856ec5551f41c
darcs-hash:7d656493078fe41e0add0f1e33824f78c278c35a
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 03 Feb 2018 14:39:10 -0800 |
parents | 114ca7fd9d01 |
children | b9c6b8724d43 |
files | service/reasoning/twisted_sse_demo/sse_client.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/service/reasoning/twisted_sse_demo/sse_client.py Sat Feb 03 14:38:10 2018 -0800 +++ b/service/reasoning/twisted_sse_demo/sse_client.py Sat Feb 03 14:39:10 2018 -0800 @@ -3,7 +3,7 @@ class EventSourceProtocol(LineReceiver): def __init__(self): - self.MAX_LENGTH = 16384 * 8 + self.MAX_LENGTH = 1 << 20 self.callbacks = {} self.finished = None # Initialize the event and data buffers