about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-23 18:20:41 -0600
committerEric Wong <e@80x24.org>2021-10-24 02:20:33 +0000
commitdf7a89286e18836670af8270748a9ea00e4961f6 (patch)
tree2a61d6114553b688b4e1286b35abc787c2a07f08
parentf59ac79a64759396ce484616393cdad18d431a57 (diff)
downloadpublic-inbox-df7a89286e18836670af8270748a9ea00e4961f6.tar.gz
We're not using it, anywhere.
-rw-r--r--lib/PublicInbox/SharedKV.pm3
1 files changed, 0 insertions, 3 deletions
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(<<'');