From f2375ff9d5c343225163167d3ed52330ef1484e0 Mon Sep 17 00:00:00 2001 From: "Chen.Zhao" Date: Wed, 18 Dec 2024 20:14:39 +0800 Subject: [PATCH] Modify task max timeout time to 10 minutes When update bios, the update task time may over 5 minutes, get task status will return fail --- redfish-core/lib/update_service.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redfish-core/lib/update_service.hpp b/redfish-core/lib/update_service.hpp index cc3d939a..53b65d0d 100644 --- a/redfish-core/lib/update_service.hpp +++ b/redfish-core/lib/update_service.hpp @@ -240,7 +240,7 @@ static void // if we're getting status updates it's // still alive, update timer - taskData->extendTimer(std::chrono::minutes(5)); + taskData->extendTimer(std::chrono::minutes(10)); } // as firmware update often results in a -- 2.25.1