mirror of
https://github.com/bitwarden/server.git
synced 2025-06-18 10:03:50 -05:00
Increased timeout for fetching source list a bunch
This commit is contained in:
parent
866144d00e
commit
6eeb2b3835
@ -119,7 +119,7 @@ public static class ServiceCollectionExtensions
|
|||||||
services.AddHttpClient("PhishingDomains", client =>
|
services.AddHttpClient("PhishingDomains", client =>
|
||||||
{
|
{
|
||||||
client.DefaultRequestHeaders.Add("User-Agent", globalSettings.SelfHosted ? "Bitwarden Self-Hosted" : "Bitwarden");
|
client.DefaultRequestHeaders.Add("User-Agent", globalSettings.SelfHosted ? "Bitwarden Self-Hosted" : "Bitwarden");
|
||||||
client.Timeout = TimeSpan.FromSeconds(30);
|
client.Timeout = TimeSpan.FromSeconds(1000); // the source list is very slow
|
||||||
});
|
});
|
||||||
|
|
||||||
services.AddSingleton<AzurePhishingDomainStorageService>();
|
services.AddSingleton<AzurePhishingDomainStorageService>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user