Fix multiple hangfire servers
This commit is contained in:
@@ -14,11 +14,7 @@ namespace MileageTraker.Web
|
|||||||
{
|
{
|
||||||
public void Configuration(IAppBuilder app)
|
public void Configuration(IAppBuilder app)
|
||||||
{
|
{
|
||||||
GlobalConfiguration.Configuration
|
|
||||||
.UseSqlServerStorage("MileageTrakerContext");
|
|
||||||
|
|
||||||
app.UseHangfireDashboard();
|
app.UseHangfireDashboard();
|
||||||
app.UseHangfireServer();
|
|
||||||
|
|
||||||
SetupRecurringJobs();
|
SetupRecurringJobs();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user