Mercurial > code > home > repos > homeauto
diff service/reasoning/twisted_sse_demo/sse_client.py @ 329:1d562167868c
allow bigger eventsource messages
Ignore-this: 97608d5f5b1059c9b92856ec5551f41c
author | drewp@bigasterisk.com |
---|---|
date | Sat, 03 Feb 2018 14:39:10 -0800 |
parents | 02d9915b3bbb |
children |
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