hey guys
my website working good until i use a hangfire job
then every request that goes on server make server cpu 100% (IIS)
but when i delete a job every thing is ok
i have not this isue before this new updates
what should i do?
and i checked it ;
its bec of this
public void Configuration(IAppBuilder app)
{
GlobalConfiguration.Configuration.UseSqlServerStorage(@"data source=.\MSSQLSERVER2014;initial catalog=admin;User ID=;Password=;MultipleActiveResultSets=true;App=EntityFramework"");
var options = new DashboardOptions
{
Authorization = new[]
{new HangfireAuthorizationFilter()/*new LocalRequestsOnlyAuthorizationFilter()*/}
};
app.UseHangfireDashboard("/JobDashboard", options);
app.UseHangfireServer();
}