From: Eric Wong Date: Sun, 24 Oct 2021 00:20:41 +0000 (-0600) Subject: shared_kv: remove cache_size attribute support X-Git-Tag: v1.7.0~68 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=df7a89286e18836670af8270748a9ea00e4961f6 shared_kv: remove cache_size attribute support We're not using it, anywhere. --- 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(<<'');