diff --git a/playground/CosmosEndToEnd/CosmosEndToEnd.ApiService/Program.cs b/playground/CosmosEndToEnd/CosmosEndToEnd.ApiService/Program.cs index 04bb2067fef..7aec7379ffe 100644 --- a/playground/CosmosEndToEnd/CosmosEndToEnd.ApiService/Program.cs +++ b/playground/CosmosEndToEnd/CosmosEndToEnd.ApiService/Program.cs @@ -9,7 +9,10 @@ builder.AddServiceDefaults(); builder.AddAzureCosmosClient("cosmos"); -builder.AddCosmosDbContext("cosmos", "ef"); +builder.AddCosmosDbContext("cosmos", "ef", configureDbContextOptions => +{ + configureDbContextOptions.RequestTimeout = TimeSpan.FromSeconds(120); +}); var app = builder.Build();