Sha256: beebbd898240778e86e8a8d5869fd548ae95909e14cea5d03a4da2f11b2080af
Contents?: true
Size: 459 Bytes
Versions: 2
Compression:
Stored size: 459 Bytes
Contents
require_relative '../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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scrivito_sdk-1.10.0.rc2 | lib/tasks/cache.rake |
scrivito_sdk-1.10.0.rc1 | lib/tasks/cache.rake |