Increase SO_RCVBUF to 2MiB to reduce chance of ESP32 cam disconnects (#515)

This commit is contained in:
J. Nick Koston 2023-07-27 08:47:01 -05:00 committed by GitHub
parent 8acefd1d05
commit 3bb2c085e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ from .model import APIVersion
_LOGGER = logging.getLogger(__name__)
BUFFER_SIZE = 1024 * 1024 # Set buffer limit to 1MB
BUFFER_SIZE = 1024 * 1024 * 2 # Set buffer limit to 2MB
INTERNAL_MESSAGE_TYPES = {GetTimeRequest, PingRequest, DisconnectRequest}