0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

ircd:Ⓜ️:homeserver: Enable prefetch of references during bootstrap for now.

This commit is contained in:
Jason Volk 2020-12-21 01:17:38 -08:00
parent 22b30b1a0a
commit bd90d02cb9

View file

@ -247,6 +247,7 @@ try
// Primary interest is to perform the INDEX and WRITE phase which create
// a database transaction and commit it respectively.
vmopts.mprefetch_refs = true;
vmopts.phase.set(vm::phase::PREINDEX, true);
vmopts.phase.set(vm::phase::INDEX, true);
vmopts.phase.set(vm::phase::WRITE, true);