Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase aiohttp read buffer to 2MiB #138

Merged

Conversation

JacobHenner
Copy link
Contributor

The previous default (64KiB) would cause ValueError: Line is too long
exceptions on watch events with large objects.

Requires aiohttp >= 3.7.0

The previous default (64KiB) would cause `ValueError: Line is too long`
exceptions on watch events with large objects.

Requires aiohttp >= 3.7.0
@JacobHenner
Copy link
Contributor Author

JacobHenner commented Feb 14, 2021

This is one proposed way to handle #137.

It requires aiohttp >=3.7.0, which is apparently incompatible with Python 3.5.

@tomplus
Copy link
Owner

tomplus commented Feb 14, 2021

Python 3.5 is no longer supported. I'll clean tests/docs in next PR.
Thanks for your contribution.

(it fixes #137)

@tomplus tomplus merged commit 1bf1232 into tomplus:master Feb 14, 2021
@JacobHenner JacobHenner deleted the jacobhenner/increase-read-buffer-size branch February 15, 2021 04:53
tomplus pushed a commit that referenced this pull request Mar 25, 2021
The previous default (64KiB) would cause `ValueError: Line is too long`
exceptions on watch events with large objects.

Requires aiohttp >= 3.7.0
@rajasaur
Copy link

Can this be merged into a release please?

@tomplus
Copy link
Owner

tomplus commented Mar 29, 2022

Sorry, my mistake. I'll fix it soon.

@tomplus
Copy link
Owner

tomplus commented Mar 29, 2022

@rajasaur fixed in v22.6.2. Thanks for reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants