mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:21:18 +08:00
fix stylesheet cache to recover if file is on disk
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
class StylesheetCache < ActiveRecord::Base
|
||||
self.table_name = 'stylesheet_cache'
|
||||
|
||||
MAX_TO_KEEP = 10
|
||||
MAX_TO_KEEP = 50
|
||||
|
||||
def self.add(target,digest,content)
|
||||
|
||||
|
Reference in New Issue
Block a user