mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-09 00:00:12 +09:00
10 lines
229 B
Ruby
10 lines
229 B
Ruby
# Native view caches share one byte budget across every database generation.
|
|
class FragmentCache
|
|
STORE = ActiveSupport::Cache::MemoryStore.new(size: 64.megabytes)
|
|
private_constant :STORE
|
|
|
|
def self.store
|
|
STORE
|
|
end
|
|
end
|