Skip to content

Commit

Permalink
fix: Include retireOnDelete in cache size calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
viv committed Dec 17, 2024
1 parent d65ae4d commit 0060347
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3680,6 +3680,7 @@ public int getCachedSize() throws CannotCalculateSizeException {
size += CacheSizes.sizeOfCollection(rolesToBroadcastPresence);
size += CacheSizes.sizeOfBoolean(); // publicRoom
size += CacheSizes.sizeOfBoolean(); // persistent
size += CacheSizes.sizeOfBoolean(); // retireOnDeletion
size += CacheSizes.sizeOfBoolean(); // moderated
size += CacheSizes.sizeOfBoolean(); // membersOnly
size += CacheSizes.sizeOfBoolean(); // canOccupantsInvite
Expand Down

0 comments on commit 0060347

Please sign in to comment.