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

Version Path
scrivito_sdk-1.18.0 lib/tasks/cache.rake
scrivito_sdk-1.18.0.rc1 lib/tasks/cache.rake
scrivito_sdk-1.17.0 lib/tasks/cache.rake
scrivito_sdk-1.17.0.rc3 lib/tasks/cache.rake
scrivito_sdk-1.17.0.rc2 lib/tasks/cache.rake
scrivito_sdk-1.17.0.rc1 lib/tasks/cache.rake
scrivito_sdk-1.16.0 lib/tasks/cache.rake
scrivito_sdk-1.16.0.rc2 lib/tasks/cache.rake
scrivito_sdk-1.16.0.rc1 lib/tasks/cache.rake
scrivito_sdk-1.15.0 lib/tasks/cache.rake
scrivito_sdk-1.15.0.rc2 lib/tasks/cache.rake
scrivito_sdk-1.15.0.rc1 lib/tasks/cache.rake
scrivito_sdk-1.14.0 lib/tasks/cache.rake
scrivito_sdk-1.14.0.rc3 lib/tasks/cache.rake
scrivito_sdk-1.14.0.rc2 lib/tasks/cache.rake
scrivito_sdk-1.14.0.rc1 lib/tasks/cache.rake
scrivito_sdk-1.13.0 lib/tasks/cache.rake
scrivito_sdk-1.13.0.rc2 lib/tasks/cache.rake
scrivito_sdk-1.13.0.rc1 lib/tasks/cache.rake
scrivito_sdk-1.12.0 lib/tasks/cache.rake