mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
fix stylesheet cache to recover if file is on disk
This commit is contained in:
parent
17d843a0ad
commit
96dbeb8608
4 changed files with 50 additions and 11 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue