danmayer / coverband

Ruby production code coverage collection and reporting (line of code usage)
https://github.com/danmayer/coverband
MIT License
2.46k stars 157 forks source link

What is the Default Redis Namespace? Coverband.configuration.redis_namespace is nil #547

Closed sshaw closed 2 weeks ago

sshaw commented 1 month ago

Documentation does not list default namespace nor TTL (though Coverband.configuration.redis_ttl does not return nil like Coverband.configuration.redis_namespace does). Would be good to know this information without having to look through the code or collecting data. Although after a cursory look through the code, I could not find it!

danmayer commented 2 weeks ago

yeah, perhaps I should rename that, this isn't a redis namespace like the redis gem, but just a prepended string to the coverband keys in redis... When it is nil there is nothing extra prepended... now coverband itself will always prepend a format/version so either

this depends if you are using the hash or tradition redis adapter, those are hard coded into the code and updated when we make breaking changes to the storage format.