hyperledger / identus-mediator

Identus DIDComm V2 Mediator

Home Page:https://atalaprism.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a configurable TTL Index for optimizing storage usage

mineme0110 opened this issue · comments

For managing data storage efficiently in MongoDB, we can utilize the Time-To-Live (TTL) index feature to automatically remove documents from a collection after a certain period of time
This ensures that MongoDB collections do not grow indefinitely
helps in optimizing storage usage
https://www.mongodb.com/docs/manual/tutorial/expire-data/

This PR fixes the issue
#290