From 8c831ac0e9f33f4fba285f55eec2e2894fb5b4ee Mon Sep 17 00:00:00 2001 From: proddy Date: Fri, 26 Dec 2025 13:33:38 +0100 Subject: [PATCH] only update partition info on boot --- src/web/WebStatusService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/WebStatusService.cpp b/src/web/WebStatusService.cpp index bc93d0dc0..48680e915 100644 --- a/src/web/WebStatusService.cpp +++ b/src/web/WebStatusService.cpp @@ -147,7 +147,7 @@ void WebStatusService::systemStatus(AsyncWebServerRequest * request) { } // get the partition info for each partition, including the running one - EMSESP::system_.get_partition_info(); + // the partition data is done once in System::start() and stored in partition_info_ JsonArray partitions = root["partitions"].to(); for (const auto & partition : EMSESP::system_.partition_info_) { // Skip partition if it has no version, or it's size is 0