summaryrefslogtreecommitdiffstats
path: root/lib/App/ArchLinux/PackagerTools
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-12-17 17:22:34 +0100
committerFlorian Pritz <bluewind@xinu.at>2018-12-17 17:22:34 +0100
commitdfadb156aaf6759ab9d06de7dfa3261c82ea9910 (patch)
treecfc1ee35b4793532d0e84c8aeca47ad45adc0aa7 /lib/App/ArchLinux/PackagerTools
parentb4120e3d85cbb78f52ede38ce99d9ba60029d037 (diff)
downloadApp-ArchLinux-PackagerTools-dfadb156aaf6759ab9d06de7dfa3261c82ea9910.tar.gz
App-ArchLinux-PackagerTools-dfadb156aaf6759ab9d06de7dfa3261c82ea9910.tar.xz
Remove cache size limit
The used key is incorrect and should have been 'max_size', but it's not needed yet so don't use it. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib/App/ArchLinux/PackagerTools')
-rw-r--r--lib/App/ArchLinux/PackagerTools/Cache.pm1
-rw-r--r--lib/App/ArchLinux/PackagerTools/Config.pm1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/App/ArchLinux/PackagerTools/Cache.pm b/lib/App/ArchLinux/PackagerTools/Cache.pm
index 6d5bec3..c0b1aa6 100644
--- a/lib/App/ArchLinux/PackagerTools/Cache.pm
+++ b/lib/App/ArchLinux/PackagerTools/Cache.pm
@@ -48,7 +48,6 @@ method new_no_defaults($class: $context, $deps = {}) {
$self->{CHI} = CHI->new(
driver => 'File',
root_dir => $config->{cache}->{root_dir},
- cache_size => $config->{cache}->{cache_size},
);
$context->{$class} = $self;
return $self;
diff --git a/lib/App/ArchLinux/PackagerTools/Config.pm b/lib/App/ArchLinux/PackagerTools/Config.pm
index bd92c17..8fab001 100644
--- a/lib/App/ArchLinux/PackagerTools/Config.pm
+++ b/lib/App/ArchLinux/PackagerTools/Config.pm
@@ -102,7 +102,6 @@ method _get_default_config() {
return {
cache => {
root_dir => path(($ENV{XDG_CACHE_HOME} // $ENV{HOME}."/.cache")."/perlpkg/v1/")->stringify(),
- cache_size => '50M',
},
cpan => {
cache_timeout => '60m',