Skip to content

Commit e45bfb6

Browse files
added more timeout and updated avm module vesion of search service
1 parent 234b18b commit e45bfb6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Deployment/send-filestoendpoint.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ function Send-FilesToEndpoint {
2020
# Get all files in the Data folder
2121
$files = Get-ChildItem -Path $DataFolderPath -File
2222

23-
# Create HttpClient with timeout
24-
$timeout = 300000 # Timeout in milliseconds (e.g., 300000 ms = 300 seconds)
23+
# Create HttpClient with timeout with 20minutes
24+
$timeout = 1200000 # Timeout in milliseconds (e.g., 1200000 ms = 1200 seconds)
2525
$httpClient = [System.Net.Http.HttpClient]::new()
2626
$httpClient.Timeout = [TimeSpan]::FromMilliseconds($timeout)
2727

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ module avmStorageAccount 'br/public:avm/res/storage/storage-account:0.20.0' = {
657657

658658
// ========== AI Foundry: AI Search ========== //
659659
var aiSearchName = 'srch-${solutionSuffix}'
660-
module avmSearchSearchServices 'br/public:avm/res/search/search-service:0.9.1' = {
660+
module avmSearchSearchServices 'br/public:avm/res/search/search-service:0.11.1' = {
661661
name: take('avm.res.cognitive-search-services.${aiSearchName}', 64)
662662
params: {
663663
name: aiSearchName

0 commit comments

Comments
 (0)