Fixed: Restoring large database backups

Remove Kestrel's default 28.6MB upload limit

(cherry picked from commit 286b083da429a49638c9121b1dda058b5425c476)
pull/1826/head
ta264 4 years ago
parent 1be3cdadb4
commit 92aae86664

@ -79,6 +79,7 @@ namespace NzbDrone.Host
.ConfigureKestrel(serverOptions => .ConfigureKestrel(serverOptions =>
{ {
serverOptions.AllowSynchronousIO = true; serverOptions.AllowSynchronousIO = true;
serverOptions.Limits.MaxRequestBodySize = null;
}) })
.ConfigureLogging(logging => .ConfigureLogging(logging =>
{ {

Loading…
Cancel
Save