From bd3138b09c93afed8535a2be50763aa9d994d6d7 Mon Sep 17 00:00:00 2001 From: Graham Herceg Date: Tue, 17 Sep 2024 10:57:26 -0400 Subject: [PATCH] Call function returned by load_counter --- corehq/apps/data_interfaces/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corehq/apps/data_interfaces/models.py b/corehq/apps/data_interfaces/models.py index a877d56f353b..9d95eb74a6cc 100644 --- a/corehq/apps/data_interfaces/models.py +++ b/corehq/apps/data_interfaces/models.py @@ -1163,7 +1163,7 @@ def _handle_case_duplicate(self, case, rule): if is_copied_case(case): return CaseRuleActionResult() - dedupe_load_counter('unknown', case.domain) + dedupe_load_counter('unknown', case.domain)() if not case_matching_rule_criteria_exists_in_es(case, rule): ALLOWED_ES_DELAY = timedelta(hours=1)