WIP: store and get relation between rooms and channels:
* fix rebuildData * write data to disk
This commit is contained in:
@ -46,7 +46,7 @@ async function register (options: RegisterServerOptions): Promise<any> {
|
||||
await ensureProsodyRunning(options)
|
||||
|
||||
if (roomChannelNeedsDataInit) {
|
||||
logger.info('The RoomChannel singleton has not found data, we must rebuild')
|
||||
logger.info('The RoomChannel singleton has not found any data, we must rebuild')
|
||||
// no need to wait here, can be done without await.
|
||||
roomChannelSingleton.rebuildData().then(
|
||||
() => { logger.info('RoomChannel singleton rebuild done') },
|
||||
|
Reference in New Issue
Block a user