mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
ircd:Ⓜ️:events: Optimize db get options in dumper.
This commit is contained in:
parent
5993c6cdf4
commit
c4c9bb2762
1 changed files with 6 additions and 1 deletions
|
@ -104,7 +104,12 @@ ircd::m::events::dump__file(const string_view &filename)
|
|||
|
||||
char *pos{data(buf)};
|
||||
size_t foff{0}, ecount{0}, acount{0}, errcount{0};
|
||||
for(auto it(begin(dbs::event_json)); it; ++it) try
|
||||
static const db::gopts gopts
|
||||
{
|
||||
db::get::NO_CACHE, db::get::NO_CHECKSUM
|
||||
};
|
||||
|
||||
for(auto it(dbs::event_json.begin(gopts)); it; ++it) try
|
||||
{
|
||||
const event::idx seq
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue