backend: Add logging for room deletion process and mark rooms for deletion
This commit is contained in:
parent
4da56a1b51
commit
cdc55d25ba
@ -178,6 +178,7 @@ export class RoomService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.logger.verbose(`Room ${roomId} has participants. Marking as deleted (graceful deletion).`);
|
this.logger.verbose(`Room ${roomId} has participants. Marking as deleted (graceful deletion).`);
|
||||||
|
// Mark the room as deleted in the storage system. They will be deleted later when all participants leave.
|
||||||
await this.markRoomAsDeleted(roomId);
|
await this.markRoomAsDeleted(roomId);
|
||||||
return { roomId, status: 'marked' } as const;
|
return { roomId, status: 'marked' } as const;
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user