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.0.0.rc2 lib/tasks/cache.rake
scrivito_sdk-1.0.0.rc1 lib/tasks/cache.rake
scrivito_sdk-0.90.0 lib/tasks/cache.rake
scrivito_sdk-0.90.0.rc3 lib/tasks/cache.rake
scrivito_sdk-0.90.0.rc2 lib/tasks/cache.rake
scrivito_sdk-0.90.0.rc1 lib/tasks/cache.rake
scrivito_sdk-0.70.2 lib/tasks/cache.rake
scrivito_sdk-0.71.2 lib/tasks/cache.rake
scrivito_sdk-0.71.1 lib/tasks/cache.rake
scrivito_sdk-0.70.1 lib/tasks/cache.rake
scrivito_sdk-0.71.0 lib/tasks/cache.rake
scrivito_sdk-0.71.0.rc2 lib/tasks/cache.rake
scrivito_sdk-0.71.0.rc1 lib/tasks/cache.rake
scrivito_sdk-0.70.0 lib/tasks/cache.rake
scrivito_sdk-0.70.0.rc3 lib/tasks/cache.rake
scrivito_sdk-0.70.0.rc2 lib/tasks/cache.rake
scrivito_sdk-0.70.0.rc1 lib/tasks/cache.rake
scrivito_sdk-0.66.0 lib/tasks/cache.rake
scrivito_sdk-0.66.0.rc2 lib/tasks/cache.rake
scrivito_sdk-0.65.2 lib/tasks/cache.rake