Repository navigation
v0.1.1
🚀 Added
feature_flags.RedisFeatureFlagStorage(client_factory, *, alias=None, key='feature_flags'): the Redis backend of ddutils feature flags. One hash, the field is the flag name, the value its JSON record (enabled,proportion,payload); the client comes from aConnectionManagerFactorylike the cache's;renameis one MULTI/EXEC pipeline. Redis errors raiseFeatureFlagStorageError, soFeatureFlagskeeps serving the last known values while Redis is down; a value that does not parse or validate is logged and read as the defaults.
Requires ddutils 0.3.2.
Full Changelog: v0.1.0...v0.1.1