From e768db2cebe70f1d9e8adcc66200a73ae617d915 Mon Sep 17 00:00:00 2001 From: jpirnay Date: Mon, 13 Apr 2026 17:54:39 +0200 Subject: [PATCH] Less memory --- lib/KOReaderSync/KOReaderSyncClient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/KOReaderSync/KOReaderSyncClient.cpp b/lib/KOReaderSync/KOReaderSyncClient.cpp index 2a9d9a31..b65d98ab 100644 --- a/lib/KOReaderSync/KOReaderSyncClient.cpp +++ b/lib/KOReaderSync/KOReaderSyncClient.cpp @@ -240,9 +240,9 @@ esp_http_client_handle_t createClient(const char* url, ResponseBuffer* buf, config.event_handler = httpEventHandler; config.user_data = activeBuf; config.method = method; - config.timeout_ms = 15000; + config.timeout_ms = 5000; config.buffer_size = HTTP_BUF_SIZE; - config.buffer_size_tx = HTTP_BUF_SIZE; + config.buffer_size_tx = 512; config.crt_bundle_attach = esp_crt_bundle_attach; config.keep_alive_enable = g_keepSessionOpen; // Follow up to 3 redirects (e.g. HTTP→HTTPS, path normalization, DuckDNS proxy).