-
Notifications
You must be signed in to change notification settings - Fork 17
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
MongoDB Cache Manager #40
base: master
Are you sure you want to change the base?
Conversation
To reuse the old caching method just create a new file and copy the contents of |
Codecov Report
@@ Coverage Diff @@
## master #40 +/- ##
==========================================
- Coverage 98.44% 97.26% -1.18%
==========================================
Files 8 9 +1
Lines 513 659 +146
==========================================
+ Hits 505 641 +136
- Misses 8 18 +10
Continue to review full report at Codecov.
|
Edit, to reuse the old method just use |
Really cool feature @anversoft I need to review it deeply. I suppose this feature resolves #23, does it? cc @albertorizzi |
I moved everything about the cache to the Mongo database so that any validation servers can be synchronized on a single database, the only substantial difference is that now the
Service.updateAll(crl?: CRL, cache?: Cache)
andService.setUp(crl?: CRL, cache?: Cache)
entries accept a custom Cache object as an optional second argument.