Skip to content

Commit 782bf10

Browse files
authored
Merge pull request #37611 from dimagi/riese/cache_key_ff
Add feature flag to tell formplayer to use specific cache key.
2 parents 0565f83 + 00f07da commit 782bf10

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

corehq/toggles/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,17 @@ def _ensure_valid_randomness(randomness):
986986
parent_toggles=[CASE_SEARCH_ADVANCED],
987987
)
988988

989+
CASE_SEARCH_CACHE_KEY = StaticToggle(
990+
'case_search_cache_key',
991+
'Case Search: Formplayer cache key',
992+
TAG_GA_PATH,
993+
description="""
994+
If set formplayer will use a more specific cache key. This is meant to fix a bug but the
995+
perfomance implications are not clear. Hence the FF.""",
996+
namespaces=[NAMESPACE_DOMAIN],
997+
parent_toggles=[SYNC_SEARCH_CASE_CLAIM],
998+
)
999+
9891000
USH_CASE_LIST_MULTI_SELECT = StaticToggle(
9901001
'ush_case_list_multi_select',
9911002
'USH: Allow selecting multiple cases from the case list',

0 commit comments

Comments
 (0)