mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-27 12:55:32 +01:00
Increase SO_RCVBUF to 2MiB to reduce chance of ESP32 cam disconnects (#515)
This commit is contained in:
parent
8acefd1d05
commit
3bb2c085e6
@ -47,7 +47,7 @@ from .model import APIVersion
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_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}
|
INTERNAL_MESSAGE_TYPES = {GetTimeRequest, PingRequest, DisconnectRequest}
|
||||||
|
Loading…
Reference in New Issue
Block a user