Enable lru_purge_enable in simple HTTP server example

This commit is contained in:
Shubham Kulkarni 2021-01-22 15:33:57 +05:30 committed by bot
parent f5acc1e446
commit b082ed5d2b

View File

@ -226,6 +226,7 @@ httpd_handle_t start_webserver(void)
{
httpd_handle_t server = NULL;
httpd_config_t config = HTTPD_DEFAULT_CONFIG();
config.lru_purge_enable = true;
// Start the httpd server
ESP_LOGI(TAG, "Starting server on port: '%d'", config.server_port);