mirror of
https://github.com/Readarr/Readarr
synced 2026-02-24 15:43:21 +01:00
Fixed: Restoring large database backups
Remove Kestrel's default 28.6MB upload limit (cherry picked from commit 286b083da429a49638c9121b1dda058b5425c476)
This commit is contained in:
parent
3e4ebe8aca
commit
220f917be2
1 changed files with 4 additions and 3 deletions
|
|
@ -77,9 +77,10 @@ public void StartServer()
|
|||
}
|
||||
})
|
||||
.ConfigureKestrel(serverOptions =>
|
||||
{
|
||||
serverOptions.AllowSynchronousIO = true;
|
||||
})
|
||||
{
|
||||
serverOptions.AllowSynchronousIO = true;
|
||||
serverOptions.Limits.MaxRequestBodySize = null;
|
||||
})
|
||||
.ConfigureLogging(logging =>
|
||||
{
|
||||
logging.AddProvider(new NLogLoggerProvider());
|
||||
|
|
|
|||
Loading…
Reference in a new issue