Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an optional ttl index to expire ops #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

devongovett
Copy link

This is a revival of #7. It allows you to specify a ttl option to livedb-mongo to expire ops after a specified time period. I'm working on another PR for livedb to handle emitting the proper errors when requested ops are missing. See share/sharedb#33.

@josephg
Copy link
Member

josephg commented Oct 28, 2014

Waiting on share/sharedb#33

@devongovett
Copy link
Author

Moved logic from share/sharedb#33 here since we can catch all the errors one place. I added a bunch of tests too. The reason travis is failing is because there were some tests I had to change that live in livedb and are run here. If you run them locally and npm link livedb on your system, they pass. Let me know what you think!

@devongovett
Copy link
Author

@josephg do you have time to review this soon? Thanks!

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