Skip to content

MongoDB client v4 fix, delete and new method to delete all inMemory Blocked keys

Compare
Choose a tag to compare
@animir animir released this 28 Sep 12:32
· 219 commits to master since this release
  • replace replaceOne with findOneAndUpdate to fix a bug related to absent ops attribute in MongoDB client v4+. Thank you @vdiez
  • delete method on any store limiter deletes inMemoryBlocked key if it is there. Thank you @evan361425
  • new deleteInMemoryBlockedAll method added to clean up all blocked keys at once. Thank you @evan361425 again :-)
  • @evan361425 also added tests to cover new lines 🥇