Hi Gustavo,
Any chance you'll reconsider this? It would be super helpful to add a bson Date field to the pending collections that the txn package uses and have it insert time.Now().
This would allow us to add a TTL index that would expire those records after however many seconds we choose. I understand the lib will panic if the data is not consistent, but I'm talking 30-60 days after -- I'll never need those records.
I currently have to go in and manually prune these collections every couple of months, and it is a real pain.
Would you consider a PR that adds a bson Date field and populates it for the pending collection that tx uses?
Regards,
Davis