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

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 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.

Sending big blocks of data triggers async_tcp task watchdog
2 participants