http server connections reduced to 5, ttn disabled
This commit is contained in:
parent
1e3eb967ab
commit
610bc7c40a
|
|
@ -53,7 +53,7 @@ idf_component_register(
|
|||
esp_http_server
|
||||
esp_eth
|
||||
esp_modem
|
||||
ttn-esp32
|
||||
# ttn-esp32
|
||||
|
||||
|
||||
PRIV_REQUIRES ${libespfs_PRIV_REQUIRES}
|
||||
|
|
|
|||
|
|
@ -426,9 +426,9 @@ static httpd_handle_t start_webserver(void)
|
|||
{
|
||||
httpd_handle_t server = NULL;
|
||||
httpd_config_t config = HTTPD_DEFAULT_CONFIG();
|
||||
// config.lru_purge_enable = true;
|
||||
config.lru_purge_enable = true;
|
||||
config.uri_match_fn = httpd_uri_match_wildcard;
|
||||
// config.max_open_sockets = 3;
|
||||
config.max_open_sockets = 5;
|
||||
config.stack_size = (4096 + 1024);
|
||||
|
||||
// Start the httpd server
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user