Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Make event queue size adjustable via Kconfig #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mkfrey
Copy link

@mkfrey mkfrey commented Aug 16, 2021

Fixes #121

@nietaki
Copy link

nietaki commented Sep 29, 2021

Can confirm, this helps in my case - changing the queue size to to 512 made the difference between the server sometimes dying while serving on 200kB files to successfully serving >1MB files with no faults.

In case someone else reading is using platformio, here's how to use the code in this PR before it's merged in:

platformio.ini:

lib_deps = 
  https://github.com/mkfrey/AsyncTCP#kconfig_queue_size
  ESP Async WebServer

build_flags = -DCONFIG_ASYNC_TCP_EVENT_QUEUE_SIZE=512

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

Successfully merging this pull request may close these issues.

Sending big blocks of data triggers async_tcp task watchdog
2 participants