diff --git a/Deployment/send-filestoendpoint.psm1 b/Deployment/send-filestoendpoint.psm1 index 6b773f8c..e7964467 100644 --- a/Deployment/send-filestoendpoint.psm1 +++ b/Deployment/send-filestoendpoint.psm1 @@ -20,8 +20,8 @@ function Send-FilesToEndpoint { # Get all files in the Data folder $files = Get-ChildItem -Path $DataFolderPath -File - # Create HttpClient with timeout - $timeout = 300000 # Timeout in milliseconds (e.g., 300000 ms = 300 seconds) + # Create HttpClient with timeout with 20minutes + $timeout = 1200000 # Timeout in milliseconds (e.g., 1200000 ms = 1200 seconds) $httpClient = [System.Net.Http.HttpClient]::new() $httpClient.Timeout = [TimeSpan]::FromMilliseconds($timeout) diff --git a/infra/main.bicep b/infra/main.bicep index e285c11c..e148cf09 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -657,7 +657,7 @@ module avmStorageAccount 'br/public:avm/res/storage/storage-account:0.20.0' = { // ========== AI Foundry: AI Search ========== // var aiSearchName = 'srch-${solutionSuffix}' -module avmSearchSearchServices 'br/public:avm/res/search/search-service:0.9.1' = { +module avmSearchSearchServices 'br/public:avm/res/search/search-service:0.11.1' = { name: take('avm.res.cognitive-search-services.${aiSearchName}', 64) params: { name: aiSearchName