Closed 0xJeti closed 2 years ago
Changing iter_content()
into iter_lines()
fixed the issue.
Thanks @0xJeti - I'm running some basic tests and was able to reproduce what you're describing. It seems like your suggestion solves the issue without breaking anything, so I will include this fix in the next release!
Hi @honoki,
Quite often I'm getting following error when
bbrf listen
is running and there is some bigger change performed (multiple domains involved etc.):I guess the reason is how response from
/_changes?feed=continuous;include_docs=true;since=
is handled withiter_content()
.resp.iter_content()
has default limit of 1024 characters so JSON response is cut in the middle.data = json.loads(change)
then throws an exception.