mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-29 19:53:47 +02:00
batch-trim session/log tables to reduce churn during high-frequency updates
This commit is contained in:
@@ -173,7 +173,9 @@ export const useFeedStore = defineStore('Feed', () => {
|
||||
function addFeed(feed) {
|
||||
notificationStore.queueFeedNoty(feed);
|
||||
feedSessionTable.value.push(feed);
|
||||
feedSessionTable.value.shift();
|
||||
if (feedSessionTable.value.length > vrcxStore.maxTableSize + 50) {
|
||||
feedSessionTable.value.splice(0, 50);
|
||||
}
|
||||
sharedFeedStore.updateSharedFeed(false);
|
||||
if (
|
||||
feedTable.value.filter.length > 0 &&
|
||||
|
||||
Reference in New Issue
Block a user