]> Sergey Matveev's repositories - public-inbox.git/commit
lei q: disable remote externals if locals exist
authorEric Wong <e@80x24.org>
Sun, 24 Jan 2021 11:46:50 +0000 (04:46 -0700)
committerEric Wong <e@80x24.org>
Sun, 24 Jan 2021 19:45:23 +0000 (15:45 -0400)
commitd3a2b3c8df7ce2c2d62b532b814a3fdcc89f1cac
tree763cd4078886d8f896a95104afa2f56147e27894
parentc80fc47e280a500ff8d6c3fde53e7554272e749b
lei q: disable remote externals if locals exist

--remote should be explicitly enabled if local externals are
present, since users may be offline or on expensive + metered
Internet while traveling.

In the future, --remote will probably default to
caching/memoizing all messages it fetches to increase the
usefulness of --local.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiQuery.pm