Skip to content

Commit

Permalink
Merge pull request #35133 from dimagi/gh/dedupe/fix-metric
Browse files Browse the repository at this point in the history
Call function returned by load_counter
  • Loading branch information
gherceg authored Sep 17, 2024
2 parents a4afa7c + bd3138b commit eae54b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corehq/apps/data_interfaces/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eae54b8

Please sign in to comment.