Fixed the Hangfire server timeout issue #1605

pull/1614/head
tidusjar 7 years ago
parent c957371bc5
commit 83d7959f5a

@ -173,7 +173,7 @@ namespace Ombi
app.UsePathBase(settings.BaseUrl);
}
app.UseHangfireServer(new BackgroundJobServerOptions { WorkerCount = 1 });
app.UseHangfireServer(new BackgroundJobServerOptions { WorkerCount = 1, ServerTimeout = TimeSpan.FromDays(1)});
app.UseHangfireDashboard(settings.BaseUrl.HasValue() ? $"{settings.BaseUrl}/hangfire" : "/hangfire",
new DashboardOptions
{

Loading…
Cancel
Save