]> Sergey Matveev's repositories - public-inbox.git/commit
searchidxshard: rely on autoflush instead of ->flush
authorEric Wong <e@yhbt.net>
Sun, 2 Feb 2020 06:52:18 +0000 (06:52 +0000)
committerEric Wong <e@yhbt.net>
Sun, 2 Feb 2020 17:29:54 +0000 (17:29 +0000)
commit058cc69698d2c0c839043cfa9b868d37c718a9f4
treeb71d3e4789b540ef8a809093f747e5333da14cbf
parentb02b2a5d7cb5a811f041febd09d625bdc1af1d8e
searchidxshard: rely on autoflush instead of ->flush

It reduces the number of ops and simplifies the code, slightly.
Add a missing IO::Handle import while we're at it, to be
explicit about which methods we use.
lib/PublicInbox/SearchIdxShard.pm