Increase handleClient iterations to 200 for better throughput

This commit is contained in:
Claude 2026-01-11 01:38:33 +00:00
parent 278d4b5d68
commit 09393a34ac
No known key found for this signature in database

View File

@ -32,7 +32,8 @@ constexpr UBaseType_t WEBSERVER_TASK_PRIORITY = 5; // Higher priority for res
// WiFi performance: handleClient iterations per loop // WiFi performance: handleClient iterations per loop
// Higher values improve upload throughput by processing more data per frame // Higher values improve upload throughput by processing more data per frame
constexpr int HANDLE_CLIENT_ITERATIONS = 50; // With 200 iterations we can process ~300KB per loop at 1.5KB/chunk
constexpr int HANDLE_CLIENT_ITERATIONS = 200;
} // namespace } // namespace
// Apply WiFi performance optimizations for maximum upload throughput // Apply WiFi performance optimizations for maximum upload throughput