mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Added Miniprofiler.MVC3, updated log grid.
This commit is contained in:
parent
3c273b9328
commit
f513878d78
14 changed files with 25867 additions and 97 deletions
|
@ -4,18 +4,14 @@ using System.Linq;
|
|||
using System.Reflection;
|
||||
using System.Threading;
|
||||
using System.Web;
|
||||
using System.Web.Caching;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
using MvcMiniProfiler;
|
||||
using NLog.Config;
|
||||
using Ninject;
|
||||
using Ninject.Web.Mvc;
|
||||
using NLog;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Core;
|
||||
using NzbDrone.Core.Instrumentation;
|
||||
using Telerik.Web.Mvc;
|
||||
|
||||
namespace NzbDrone.Web
|
||||
{
|
||||
|
@ -99,13 +95,11 @@ namespace NzbDrone.Web
|
|||
|
||||
protected void Application_BeginRequest()
|
||||
{
|
||||
Thread.CurrentThread.Name = "UI";
|
||||
MiniProfiler.Start();
|
||||
Thread.CurrentThread.Name = "WEB_THREAD";
|
||||
}
|
||||
|
||||
protected void Application_EndRequest()
|
||||
{
|
||||
MiniProfiler.Stop();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue