]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/SharedKV.pm
shared_kv: remove cache_size attribute support
[public-inbox.git] / lib / PublicInbox / SharedKV.pm
index 398f4ca8dd70ef70af87ecf348689b6561c1532f..27407f8357131ef24f6388a934afae734a312528 100644 (file)
@@ -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(<<'');