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-1.9.1 lib/tasks/cache.rake
scrivito_sdk-1.9.1.rc1 lib/tasks/cache.rake
scrivito_sdk-1.9.0 lib/tasks/cache.rake
scrivito_sdk-1.9.0.rc2 lib/tasks/cache.rake
scrivito_sdk-1.9.0.rc1 lib/tasks/cache.rake
scrivito_sdk-1.8.1 lib/tasks/cache.rake
scrivito_sdk-1.8.1.rc1 lib/tasks/cache.rake
scrivito_sdk-1.8.0 lib/tasks/cache.rake
scrivito_sdk-1.8.0.rc2 lib/tasks/cache.rake
scrivito_sdk-1.8.0.rc1 lib/tasks/cache.rake
scrivito_sdk-1.7.0 lib/tasks/cache.rake
scrivito_sdk-1.7.0.rc2 lib/tasks/cache.rake
scrivito_sdk-1.5.5 lib/tasks/cache.rake
scrivito_sdk-1.6.1 lib/tasks/cache.rake
scrivito_sdk-1.6.1.rc1 lib/tasks/cache.rake
scrivito_sdk-1.5.5.rc1 lib/tasks/cache.rake
scrivito_sdk-1.4.3 lib/tasks/cache.rake
scrivito_sdk-1.5.4 lib/tasks/cache.rake
scrivito_sdk-1.7.0.rc1 lib/tasks/cache.rake
scrivito_sdk-1.6.0 lib/tasks/cache.rake