diff options
author | Eric Wong <e@80x24.org> | 2021-11-24 15:45:39 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-11-30 06:50:11 +0000 |
commit | 99a78c2ac51f63de41ccfc27e504d9b0e54d0592 (patch) | |
tree | 6b5144c1e23af24dffe916c29fad9ec067538d58 /lib/PublicInbox/SearchIdxShard.pm | |
parent | 10e0e2052b2c2a4bb405cfbb4c2c72464671152d (diff) | |
download | public-inbox-99a78c2ac51f63de41ccfc27e504d9b0e54d0592.tar.gz |
->newsgroup_matches was never used, and ->shard_over_check was dropped in 89193578d21f (extindex: --gc checkpoints, 2021-10-06).
Diffstat (limited to 'lib/PublicInbox/SearchIdxShard.pm')
-rw-r--r-- | lib/PublicInbox/SearchIdxShard.pm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/PublicInbox/SearchIdxShard.pm b/lib/PublicInbox/SearchIdxShard.pm index 8635f585..000abd94 100644 --- a/lib/PublicInbox/SearchIdxShard.pm +++ b/lib/PublicInbox/SearchIdxShard.pm @@ -75,14 +75,4 @@ sub shard_close { $self->ipc_worker_stop; } -sub shard_over_check { - my ($self, $over) = @_; - if ($self->{-ipc_req} && $over->{dbh}) { - # can't send DB handles over IPC, and use read-only to avoid - # create_tables lock conflict: - $over = PublicInbox::Over->new($over->{dbh}->sqlite_db_filename) - } - $self->ipc_do('over_check', $over); -} - 1; |