Increase timeout for runtime manifest

In management network reconfiguration for AIO-SX, the runtime manifest
executed during host unlock could take more than five minutes to complete.
This commit is to extend the timeout period from five minutes to eight
minutes.

Test Plan:
PASS: AIO-SX subcloud mgmt network reconfiguration

Story: 2010722
Task: 49133

Change-Id: I6bc0bacad86e82cc1385132f9cf10b56002f385e
Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
This commit is contained in:
Teresa Ho 2023-11-23 15:31:12 -05:00
parent e37f69765e
commit 36814db843
2 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@
#define MTC_MINS_3 (180)
#define MTC_MINS_4 (240)
#define MTC_MINS_5 (300)
#define MTC_MINS_8 (480)
#define MTC_MINS_10 (600)
#define MTC_MINS_15 (900)
#define MTC_MINS_20 (1200)

View File

@ -501,7 +501,7 @@ int nodeLinkClass::enable_handler ( struct nodeLinkClass::node * node_ptr )
{
if ( daemon_is_file_present(UNLOCK_READY_FILE) == false )
{
mtcTimer_start ( node_ptr->mtcTimer, mtcTimer_handler, MTC_MINS_5 );
mtcTimer_start ( node_ptr->mtcTimer, mtcTimer_handler, MTC_MINS_8 );
mtcInvApi_update_task_now ( node_ptr, MTC_TASK_MANIFEST_APPLY );
this->unlock_ready_wait = true ;
return (PASS);