diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-12-17 17:22:34 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-12-17 17:22:34 +0100 |
commit | dfadb156aaf6759ab9d06de7dfa3261c82ea9910 (patch) | |
tree | cfc1ee35b4793532d0e84c8aeca47ad45adc0aa7 /lib | |
parent | b4120e3d85cbb78f52ede38ce99d9ba60029d037 (diff) | |
download | App-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')
-rw-r--r-- | lib/App/ArchLinux/PackagerTools/Cache.pm | 1 | ||||
-rw-r--r-- | lib/App/ArchLinux/PackagerTools/Config.pm | 1 |
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', |