File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -451,10 +451,10 @@ async def setup_clients():
451
451
current_app .logger .info (
452
452
"Setting up Azure credential using AzureDeveloperCliCredential with tenant_id %s" , AZURE_TENANT_ID
453
453
)
454
- azure_credential = AzureDeveloperCliCredential (tenant_id = AZURE_TENANT_ID )
454
+ azure_credential = AzureDeveloperCliCredential (tenant_id = AZURE_TENANT_ID , process_timeout = 60 )
455
455
else :
456
456
current_app .logger .info ("Setting up Azure credential using AzureDeveloperCliCredential for home tenant" )
457
- azure_credential = AzureDeveloperCliCredential ()
457
+ azure_credential = AzureDeveloperCliCredential (process_timeout = 60 )
458
458
459
459
# Set up clients for AI Search and Storage
460
460
search_client = SearchClient (
Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ async def main(strategy: Strategy, setup_index: bool = True):
386
386
azd_credential = AzureDeveloperCliCredential (tenant_id = args .tenantid , process_timeout = 60 )
387
387
else :
388
388
logger .info ("Connecting to Azure services using the azd credential for home tenant" )
389
- azd_credential = AzureDeveloperCliCredential ()
389
+ azd_credential = AzureDeveloperCliCredential (process_timeout = 60 )
390
390
391
391
if args .removeall :
392
392
document_action = DocumentAction .RemoveAll
You can’t perform that action at this time.
0 commit comments