Sha256: b024394981958436d11f31ad5e83fe0632b9e01888f740b2da92ab3fc4b3dc38

Contents?: true

Size: 403 Bytes

Versions: 106

Compression:

Stored size: 403 Bytes

Contents

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

106 entries across 106 versions & 1 rubygems

Version Path
scrivito_sdk-0.41.0.rc1 lib/tasks/cache.rake
scrivito_sdk-0.40.0 lib/tasks/cache.rake
scrivito_sdk-0.40.0.rc2 lib/tasks/cache.rake
scrivito_sdk-0.40.0.rc1 lib/tasks/cache.rake
scrivito_sdk-0.30.0 lib/tasks/cache.rake
scrivito_sdk-0.30.0.rc1 lib/tasks/cache.rake