mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 19:27:21 +01:00
increase cached file provider timeout
This commit is contained in:
parent
d26546cf7c
commit
f2ebbd72fe
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ public sealed class CachedFileProvider : IDisposable
|
|||
_hotStoragePath = configuration.GetValue<string>(nameof(StaticFilesServerConfiguration.CacheDirectory));
|
||||
_httpClient = new();
|
||||
_httpClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("MareSynchronosServer", "1.0.0.0"));
|
||||
_httpClient.Timeout = TimeSpan.FromSeconds(300);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue