0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-15 17:16:49 +01:00

ircd::db: Move conf item into namespace.

This commit is contained in:
Jason Volk 2020-10-11 16:05:55 -07:00
parent 1dc799dffa
commit 7be03dda17
2 changed files with 3 additions and 2 deletions

View file

@ -5213,8 +5213,8 @@ ircd::db::make_opts(const gopts &opts)
return ret; return ret;
} }
ircd::conf::item<bool> decltype(ircd::db::read_checksum)
read_checksum ircd::db::read_checksum
{ {
{ "name", "ircd.db.read.checksum" }, { "name", "ircd.db.read.checksum" },
{ "default", false } { "default", false }

View file

@ -72,6 +72,7 @@ namespace ircd::db
// state // state
extern log::log rog; extern log::log rog;
extern conf::item<bool> enable_wal; extern conf::item<bool> enable_wal;
extern conf::item<bool> read_checksum;
extern conf::item<size_t> request_pool_size; extern conf::item<size_t> request_pool_size;
extern conf::item<size_t> request_pool_stack_size; extern conf::item<size_t> request_pool_stack_size;
extern ctx::pool::opts request_pool_opts; extern ctx::pool::opts request_pool_opts;