Skip to content

Commit c03761c

Browse files
authoredMay 18, 2023
Up timeout for plugins to respond to evidence code refresh (#59)
Log analytics show that skatt and tilda regularly hit 15-20 seconds cold start times, causing the evidence code refresh to treat it as timed out/dead. As a triaging measure pending optimized start up times in these plugins, we up the timeout value to 25 seconds.
1 parent 2d1ad06 commit c03761c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Dan.Core/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
services.AddHttpClient("EvidenceCodesClient", client =>
161161
{
162162
client.DefaultRequestHeaders.Add("Accept", "application/json");
163-
client.Timeout = TimeSpan.FromSeconds(10);
163+
client.Timeout = TimeSpan.FromSeconds(25);
164164
})
165165
.AddHttpMessageHandler<ExceptionDelegatingHandler>();
166166

0 commit comments

Comments
 (0)
Please sign in to comment.