mirror of
https://github.com/matrix-construct/construct
synced 2024-07-05 10:08:36 +02:00
ircd:Ⓜ️:homeserver: Adjust assertions to continue incomplete bootstrap.
This commit is contained in:
parent
439fb28854
commit
a90191792e
|
@ -17,13 +17,12 @@ void
|
|||
ircd::m::homeserver::bootstrap()
|
||||
try
|
||||
{
|
||||
assert(dbs::events);
|
||||
assert(db::sequence(*dbs::events) == 0);
|
||||
|
||||
assert(opts);
|
||||
assert(dbs::events);
|
||||
if(opts->bootstrap_vector_path)
|
||||
return bootstrap_event_vector(*this);
|
||||
|
||||
assert(db::sequence(*dbs::events) == 0);
|
||||
assert(this->self);
|
||||
const m::user::id &my_id
|
||||
{
|
||||
|
@ -189,6 +188,7 @@ void
|
|||
ircd::m::bootstrap_event_vector(homeserver &homeserver)
|
||||
try
|
||||
{
|
||||
assert(homeserver.opts);
|
||||
const string_view &path
|
||||
{
|
||||
homeserver.opts->bootstrap_vector_path
|
||||
|
|
Loading…
Reference in a new issue