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:
Gary Sharp
2013-04-30 12:42:59 +10:00
parent a6cfd5a63a
commit 32336af075
6 changed files with 152 additions and 79 deletions
+1
View File
@@ -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);