forked from Molorius/esp32-websocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
61 lines (52 loc) · 1.26 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
menu "WebSocket Server"
config WEBSOCKET_SERVER_MAX_CLIENTS
int "Max clients"
range 1 1000
default 20
help
Maximum number of clients that the WebSocket
server can handle at a time.
config WEBSOCKET_SERVER_QUEUE_SIZE
int "Queue read size"
range 1 100
default 10
help
Size of the queue to deal with incoming
WebSocket messages. The queue holds the
connection, not the actual message.
config WEBSOCKET_SERVER_QUEUE_TIMEOUT
int "Queue timeout"
range 0 10000
default 30
help
Timeout for adding new connections to the
read queue.
config WEBSOCKET_SERVER_TASK_STACK_DEPTH
int "Stack depth"
range 3000 20000
default 6000
help
Stack depth for the WebSocket server. The task
handles reads.
config WEBSOCKET_SERVER_TASK_PRIORITY
int "Priority"
range 1 20
default 5
help
Priority for the WebSocket server. The task
handles reads.
config WEBSOCKET_SERVER_PINNED
bool "Server pinned to core"
default false
help
Pin the WebSocket server task to a specific core.
The task handles reads.
config WEBSOCKET_SERVER_PINNED_CORE
int "Pinned core"
depends on WEBSOCKET_SERVER_PINNED
range 0 1
default 0
help
Core that the WebSocket server is pinned to.
The task handles reads.
endmenu