[OpenSIPS-Devel] [OpenSIPS/opensips] 3fd880: fraud_detection: Optimize time-recurrences which a...

Liviu Chircu noreply at github.com
Mon Jan 25 11:17:27 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3fd880ab52b79bab5147403c4cfe994ae5114f4b
      https://github.com/OpenSIPS/opensips/commit/3fd880ab52b79bab5147403c4cfe994ae5114f4b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M modules/fraud_detection/frd_load.c

  Log Message:
  -----------
  fraud_detection: Optimize time-recurrences which always match

Rather than always (re)evaluating a time rec which matches 100% of the
time, just set it to NULL, so drouting quickly skips the check.

(cherry picked from commit 2a3a1050e8e04f40d0500a8eb5d5e1429344077f)





More information about the Devel mailing list