1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-24 16:51:58 +00:00

Use IsProduction instead of IsDebug to toggle caching on/off

This commit is contained in:
Keivan Beigi 2015-07-21 20:38:23 -07:00
parent 9b16e3b538
commit 0789ace879

View file

@ -14,7 +14,7 @@ public class CacheableSpecification : ICacheableSpecification
{
public bool IsCacheable(NancyContext context)
{
if (BuildInfo.IsDebug)
if (!RuntimeInfoBase.IsProduction)
{
return false;
}