From df7a89286e18836670af8270748a9ea00e4961f6 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 23 Oct 2021 18:20:41 -0600 Subject: shared_kv: remove cache_size attribute support We're not using it, anywhere. --- lib/PublicInbox/SharedKV.pm | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/PublicInbox/SharedKV.pm') diff --git a/lib/PublicInbox/SharedKV.pm b/lib/PublicInbox/SharedKV.pm index 398f4ca8..27407f83 100644 --- a/lib/PublicInbox/SharedKV.pm +++ b/lib/PublicInbox/SharedKV.pm @@ -27,9 +27,6 @@ sub dbh { }); my $opt = $self->{opt} // {}; $dbh->do('PRAGMA synchronous = OFF') if !$opt->{fsync}; - if (my $s = $opt->{cache_size}) { - $dbh->do("PRAGMA cache_size = $s"); - } $dbh->do('PRAGMA journal_mode = '. ($opt->{journal_mode} // 'WAL')); $dbh->do(<<''); -- cgit v1.2.3-24-ge0c7