mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: Don't use a process cache in development mode
This commit is contained in:
parent
fb241a4351
commit
4090ed226a
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ class DiscourseStylesheets
|
|||
@lock = Mutex.new
|
||||
|
||||
def self.cache
|
||||
return {} if Rails.env.development?
|
||||
@cache ||= DistributedCache.new("discourse_stylesheet")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue