about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-04-20 09:59:21 +0000
committerEric Wong <e@yhbt.net>2020-04-20 20:20:49 +0000
commitd5eac0c11bc8b71d5e45b442e8cd97507825a62c (patch)
treea97a1406c12c8265da77574217624757ad48f60a /lib
parente01fc7d6c08ffaaf14406802f4085dc41f24f7e5 (diff)
downloadpublic-inbox-d5eac0c11bc8b71d5e45b442e8cd97507825a62c.tar.gz
We switched to the SDBM-based queue to store author/committer
info last month.

Fixes: c7acdfe78bda5bf3 ("v2: SDBM-based multi Message-ID queue")
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/V2Writable.pm12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm
index ca5f4f1b..12cc1f13 100644
--- a/lib/PublicInbox/V2Writable.pm
+++ b/lib/PublicInbox/V2Writable.pm
@@ -979,18 +979,6 @@ sub check_unindexed ($$$) {
         }
 }
 
-# reuse Msgmap to store num => oid mapping (rather than num => mid)
-sub multi_mid_q_new () {
-        my ($fh, $fn) = tempfile('multi_mid-XXXXXXX', EXLOCK => 0, TMPDIR => 1);
-        my $multi_mid = PublicInbox::Msgmap->new_file($fn, 1);
-        $multi_mid->{dbh}->do('PRAGMA synchronous = OFF');
-        # for Msgmap->DESTROY:
-        $multi_mid->{tmp_name} = $fn;
-        $multi_mid->{pid} = $$;
-        close $fh or die "failed to close $fn: $!";
-        $multi_mid
-}
-
 sub multi_mid_q_push ($$$) {
         my ($self, $sync, $oid) = @_;
         my $multi_mid = $sync->{multi_mid} //= PublicInbox::MultiMidQueue->new;