fix(flags): added cache invalidation
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
## Decide (`apps/decision/services.py`)
|
||||
|
||||
1. `flag` из cache/DB.
|
||||
1. `flag` из cache/DB; при `FeatureFlag.default_value` update удаляется `flag:{key}`.
|
||||
2. `active_experiment` из cache/DB.
|
||||
3. Формируется cache key результата (`flag`, `subject`, digest атрибутов, ревизии `flag/experiment`).
|
||||
4. При cache hit возвращается тот же outcome/reason/value с новым `decision_id`.
|
||||
|
||||
Reference in New Issue
Block a user