mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Profiler can be enabled via config file.
This commit is contained in:
parent
f56bf62991
commit
28259bc254
5 changed files with 29 additions and 2 deletions
|
@ -62,6 +62,12 @@ namespace NzbDrone.Common
|
|||
set { SetValue("AuthenticationType", (int)value); }
|
||||
}
|
||||
|
||||
public virtual bool EnableProfiler
|
||||
{
|
||||
get { return GetValueBoolean("EnableProfiler", false); }
|
||||
set { SetValue("EnableProfiler", value); }
|
||||
}
|
||||
|
||||
public virtual int GetValueInt(string key, int defaultValue)
|
||||
{
|
||||
return Convert.ToInt32(GetValue(key, defaultValue));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue