lib/s3repo/repo.rb in s3repo-0.1.3 vs lib/s3repo/repo.rb in s3repo-0.1.4
- old
+ new
@@ -43,10 +43,10 @@
def metadata
@metadata ||= Metadata.new(client: client, file_cache: file_cache)
end
def package_cache
- @package_cache ||= BasicCache::TimeCache.new lifetime: 600
+ @package_cache ||= BasicCache::TimeCache.new lifetime: 60
end
def parse_packages
client.list_objects(bucket: bucket).contents.select do |x|
x.key.match(/.*\.pkg\.tar\.xz$/)