sasa1977 / con_cache

ets based key/value cache with row level isolated writes and ttl support
MIT License
910 stars 71 forks source link

Supports decentralized_counters ets option #70

Closed rubemz closed 11 months ago

rubemz commented 1 year ago

This PRs adds the support for decentralized_counts for ets options.

More details on the ets docs.

Any suggestion on the best way to test this?

sasa1977 commented 1 year ago

Sorry for the very late reply. I'm fine with merging this, but if you want to add a test, I think the approach would be to create the cache instance, and then check if the option is set with the combination of https://www.erlang.org/doc/man/ets#info-1 and https://hexdocs.pm/con_cache/ConCache.html#ets/1.