diff options
author | Eric Wong <e@80x24.org> | 2020-09-02 11:04:17 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-09-03 20:11:03 +0000 |
commit | 53c1b42f1f8bf5b50acbf25cbe77e70ca15d5c77 (patch) | |
tree | c425afe0d88ef2a16e790ad9628480a302117d0e /lib/PublicInbox/Search.pm | |
parent | 80b887f29b2ec71d025b4c266a1c26314758994c (diff) | |
download | public-inbox-53c1b42f1f8bf5b50acbf25cbe77e70ca15d5c77.tar.gz |
Only inbox accesses the read-only {over}, now, instead of going through ->search. This simplifies our object graph and avoids potentially redundant FDs and DB handles pointing to the same over.sqlite3 file.
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r-- | lib/PublicInbox/Search.pm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index cfa942b2..b07f4ea6 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -265,8 +265,6 @@ sub new { ibx_ver => $ibx->version, }, $class; xpfx_init($self); - my $dir = xdir($self, 1); - $self->{over_ro} = PublicInbox::Over->new("$dir/over.sqlite3"); $self; } |