We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0587e48 commit 18b5d40Copy full SHA for 18b5d40
playground/CosmosEndToEnd/CosmosEndToEnd.ApiService/Program.cs
@@ -9,7 +9,10 @@
9
10
builder.AddServiceDefaults();
11
builder.AddAzureCosmosClient("cosmos");
12
-builder.AddCosmosDbContext<TestCosmosContext>("cosmos", "ef");
+builder.AddCosmosDbContext<TestCosmosContext>("cosmos", "ef", configureDbContextOptions =>
13
+{
14
+ configureDbContextOptions.RequestTimeout = TimeSpan.FromSeconds(120);
15
+});
16
17
var app = builder.Build();
18
0 commit comments