FIX: Don't use a process cache in development mode

This commit is contained in:
Robin Ward 2014-11-12 13:51:16 -05:00
parent fb241a4351
commit 4090ed226a
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ class DiscourseStylesheets
@lock = Mutex.new
def self.cache
return {} if Rails.env.development?
@cache ||= DistributedCache.new("discourse_stylesheet")
end