https://github.com/sendbird/sendbird-syncmanager-javascript/releases/tag/v1.1.22
• Added messageStoreCapacity
, messageStoreEjectionPriotizedLimit
, messageStoreEjectionSize
in SendBirdSyncManager.Options
.
• If the number of all the messages exceeds messageStoreCapacity
,
• It checks if a certain channel has more than messageStoreEjectionPriotizedLimit
messages.
• If yes, it ejects messageStoreEjectionSize
oldest messages from that channel.
• If no, it ejects messageStoreEjectionSize
oldest messages regardless of channel.
• Once the messages are ejected, active collections work as an API-only mode (no sync).
• Improved stability.