Skip to content

Conversation

@leonardootoni
Copy link

Added .lean() on mongoose Queries to avoid mongoose hydration and speedup performance.
It solves that bug when setting TTL from Mongoose Models

@lorensr
Copy link
Member

lorensr commented Aug 13, 2022

I appreciate the contribution, but it looks like the types also need to be updated, so I'll close this in favor of #102

@lorensr lorensr closed this Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants