Add NullCacheAdapter#2636
Conversation
|
Tests failed but it is not my fault. |
Current coverage is 92.12% (diff: 100%)@@ master #2636 diff @@
==========================================
Files 99 101 +2
Lines 12113 12304 +191
Methods 1488 1529 +41
Messages 0 0
Branches 1996 2022 +26
==========================================
+ Hits 11154 11335 +181
- Misses 959 969 +10
Partials 0 0
|
|
@yuki-takeichi thanks for the PR. We're cautious adding come additional adapter to the main code base. The biggest pain point is that to access them, you need to know the internal path of that said adapter and that prevent maintainers from doing extra refactoring (like what happened to the FileLoggerAdapter when renamed to WinstonLoggerAdapter). I know it's a lot to ask, but could you add a module that would be accessed with: Do you think that's possible? Thanks. |
| } | ||
|
|
||
| clear() { | ||
| } |
There was a problem hiding this comment.
|
@yuki-takeichi updated the pull request - view changes |
|
@yuki-takeichi updated the pull request - view changes |
|
@flovilmart BTW, I can't find out the reason why Regards, |
|
That looks good to me. |
|
It throws something like: |
NullCacheAdapter disables in-memory cache explicitly in order to prevent cache inconsistency between multiple servers.