]> Sergey Matveev's repositories - public-inbox.git/commit
miscsearch: take reopen from Search and use it
authorEric Wong <e@80x24.org>
Sun, 27 Dec 2020 11:01:42 +0000 (11:01 +0000)
committerEric Wong <e@80x24.org>
Mon, 28 Dec 2020 23:18:49 +0000 (23:18 +0000)
commit54b250c611c752538666f2bf6d361d3762a21781
tree1ba1adc87093e360ce93e410b2682b4c60d034a1
parentd209c2064ebc8ccddc7f0da068c663fc08077334
miscsearch: take reopen from Search and use it

As with ExtSearch, MiscSearch lacks a janky cleanup timer of
PublicInbox::Inbox objects, leading to info about
inboxes/newsgroups going stale.  Fortunately, we don't use
MiscSearch very heavily, yet.

In the future, we may be able to detect new inboxes without
having to SIGHUP or restart daemons using MiscSearch.
lib/PublicInbox/MiscSearch.pm
lib/PublicInbox/WwwListing.pm