Added cold-persistance to Channel Chat Buffer via periodic DB saves based on chat activity.

This commit is contained in:
rainbow napkin 2025-07-23 01:05:39 -04:00
parent 366df357b8
commit c64b315fdf
7 changed files with 124 additions and 5 deletions

View file

@ -160,7 +160,7 @@ module.exports = class{
const queueLock = this.channel.queue.locked;
//Get chat buffer
const chatBuffer = this.channel.chatBuffer;
const chatBuffer = this.channel.chatBuffer.buffer;
//Send off the metadata to our user's clients
this.emit("clientMetadata", {user: userObj, flairList, queue, queueLock, chatBuffer});