0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-28 15:53:46 +02:00

ircd::db: Fix read opts not passing cache=false. (regression 94a6cd0d90)

This commit is contained in:
Jason Volk 2023-02-11 12:28:51 -08:00
parent 30cc6b3bdb
commit b106fe4c9d

View file

@ -5351,8 +5351,8 @@ ircd::db::make_opts(const gopts &opts)
if(opts.pin)
ret.pin_data = true;
if(opts.cache)
ret.fill_cache = true;
if(!opts.cache)
ret.fill_cache = false;
if(opts.prefix)
ret.prefix_same_as_start = true;