Skip to content

Commit

Permalink
increase tcp event queue from 32 to 64 - fixes Launching the WebUI fr…
Browse files Browse the repository at this point in the history
…om crashes EMS-ESP on some environments #177
  • Loading branch information
proddy committed Nov 5, 2021
1 parent 57f5381 commit 8284520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AsyncTCP/src/AsyncTCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static uint32_t _closed_index = []() {

static inline bool _init_async_event_queue() {
if (!_async_queue) {
_async_queue = xQueueCreate(32, sizeof(lwip_event_packet_t *));
_async_queue = xQueueCreate(64, sizeof(lwip_event_packet_t *)); // double queue see https://github.com/emsesp/EMS-ESP32/issues/177
if (!_async_queue) {
return false;
}
Expand Down

0 comments on commit 8284520

Please sign in to comment.