Sha256: 44b5d20530f23ece849be9eca6b5a70e8ffec28b0db50f9e9dac816a48b3130c
Contents?: true
Size: 470 Bytes
Versions: 28
Compression:
Stored size: 470 Bytes
Contents
require_relative '../../app/cms/scrivito/cache_garbage_collector' namespace :scrivito do namespace :cache do desc 'Cap number of cache file inodes at ' \ "#{Scrivito::CacheGarbageCollector::DEFAULT_MAX_FILE_INODES} " \ '(Use MAX_FILE_INODES=500 to specify the maximum). ' \ 'See Scrivito::CacheGarbageCollector for details.' task gc: :environment do Scrivito::CacheGarbageCollector.new(ENV['MAX_FILE_INODES']).run_gc end end end
Version data entries
28 entries across 28 versions & 1 rubygems