]> git.notmuchmail.org Git - notmuch/commit
lib: cache configuration information from database
authorDavid Bremner <david@tethera.net>
Sat, 8 Aug 2020 14:16:37 +0000 (11:16 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 6 Feb 2021 22:56:05 +0000 (18:56 -0400)
commit4743e87c2c79c37208bb60d6617ef203796fc5c2
tree5375640448e91c4bf77bb29a7d5c0791bf3ce8f1
parent763445beaec906440fbdd497755718ef860b88e4
lib: cache configuration information from database

The main goal is to allow configuration information to be temporarily
overridden by a separate config file. That will require further
changes not in this commit.

The performance impact is unclear, and will depend on the balance
between number of queries and number of distinct metadata items read
on the first call to n_d_get_config.
lib/config.cc
lib/database-private.h
lib/notmuch-private.h
lib/open.cc
lib/prefix.cc
test/T562-lib-database.sh