From 0eff7ba94d47b9f414037e2cb4f19f02bc864120 Mon Sep 17 00:00:00 2001 From: Huzaifa Danish Date: Fri, 13 Sep 2024 09:59:18 -0700 Subject: [PATCH] Incresed timeout --- .../SetupFlow/DevHome.SetupFlow/Models/ConfigureTargetTask.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/SetupFlow/DevHome.SetupFlow/Models/ConfigureTargetTask.cs b/tools/SetupFlow/DevHome.SetupFlow/Models/ConfigureTargetTask.cs index 2de0a97bed..4a00fd3cb8 100644 --- a/tools/SetupFlow/DevHome.SetupFlow/Models/ConfigureTargetTask.cs +++ b/tools/SetupFlow/DevHome.SetupFlow/Models/ConfigureTargetTask.cs @@ -411,12 +411,12 @@ public IAsyncOperation Execute() applyConfigurationOperation.ConfigurationSetStateChanged += OnApplyConfigurationOperationChanged; applyConfigurationOperation.ActionRequired += OnActionRequired; - // We'll cancel the operation after 10 minutes. This is arbitrary for now and will need to be adjusted in the future. + // We'll cancel the operation after 30 minutes. This is arbitrary for now and will need to be adjusted in the future. // but we'll need to give the user the ability to cancel the operation in the UI as well. This is just a safety net. // More work is needed to give the user the ability to cancel the operation as the capability is not currently available. // in the UI of Dev Home's Loading page. var tokenSource = new CancellationTokenSource(); - tokenSource.CancelAfter(TimeSpan.FromMinutes(10)); + tokenSource.CancelAfter(TimeSpan.FromMinutes(30)); ApplyConfigurationAsyncOperation = applyConfigurationOperation.StartAsync(); var result = await ApplyConfigurationAsyncOperation.AsTask().WaitAsync(tokenSource.Token);