Update: Cached Job Index Data
Take advantage of repository monitor for change notification; in-memory cache rather than retrieving data on each request.
This commit is contained in:
@@ -71,6 +71,7 @@ namespace Disco.Web.Controllers
|
||||
|
||||
m.OpenJobs = jobList_OpenJobs;
|
||||
m.LongRunningJobs = jobList_LongRunning;
|
||||
m.DailyOpenedClosedStatistics = Disco.BI.JobBI.Statistics.DailyOpenedClosed.Data(dbContext, true);
|
||||
|
||||
// UI Extensions
|
||||
UIExtensions.ExecuteExtensions<JobIndexModel>(this.ControllerContext, m);
|
||||
|
||||
Reference in New Issue
Block a user