Original project changes: mdns: task stack size configuration (MDNS_TASK_STACK_SIZE)

This commit is contained in:
Carsten Schmiemann 2022-11-18 23:19:24 +01:00
parent 1ff5e24b1b
commit 25d79ca572
2 changed files with 7 additions and 1 deletions

View file

@ -10,4 +10,10 @@ menu "mDNS"
the maximum amount of services here. The valid value is from 1
to 64.
config MDNS_TASK_STACK_SIZE
int "mDNS task stack size"
default 4096
help
Allows setting mDNS task stacksize.
endmenu

View file

@ -52,7 +52,7 @@
#define MDNS_ANSWER_SDPTR 0x80
#define MDNS_SERVICE_PORT 5353 // UDP port that the server runs on
#define MDNS_SERVICE_STACK_DEPTH 4096 // Stack size for the service thread
#define MDNS_SERVICE_STACK_DEPTH CONFIG_MDNS_TASK_STACK_SIZE // Stack size for the service thread
#define MDNS_PACKET_QUEUE_LEN 16 // Maximum packets that can be queued for parsing
#define MDNS_ACTION_QUEUE_LEN 16 // Maximum actions pending to the server
#define MDNS_TXT_MAX_LEN 1024 // Maximum string length of text data in TXT record