Skip to content

Commit

Permalink
Increase timeout
Browse files Browse the repository at this point in the history
Increase TfL API timeout to 7.5 seconds.
  • Loading branch information
martincostello committed Nov 26, 2023
1 parent bc1971b commit 7fbccfe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static IHttpClientBuilder ApplyDefaultConfiguration(this IHttpClientBuild
private static void ApplyDefaultConfiguration(HttpClient client)
{
client.DefaultRequestHeaders.UserAgent.Add(_userAgent.Value);
client.Timeout = TimeSpan.FromSeconds(5);
client.Timeout = TimeSpan.FromSeconds(7.5);
}

/// <summary>
Expand Down

0 comments on commit 7fbccfe

Please sign in to comment.