Mercurial > code > home > repos > homeauto
changeset 329:1d562167868c
allow bigger eventsource messages
Ignore-this: 97608d5f5b1059c9b92856ec5551f41c
author | drewp@bigasterisk.com |
---|---|
date | Sat, 03 Feb 2018 14:39:10 -0800 |
parents | b069bb37f817 |
children | 1ff1fbf6b183 |
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