mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
Use IsProduction instead of IsDebug to toggle caching on/off
This commit is contained in:
parent
9b16e3b538
commit
0789ace879
@ -14,7 +14,7 @@ public class CacheableSpecification : ICacheableSpecification
|
||||
{
|
||||
public bool IsCacheable(NancyContext context)
|
||||
{
|
||||
if (BuildInfo.IsDebug)
|
||||
if (!RuntimeInfoBase.IsProduction)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user