stable

Clone or download

Read-only

Do not preg_match every request

Part of story #12187 configure workflow pre & post actions at target state level In order to not have to execute preg_match on every hits, we need to switch to strpos, like it have been done in previous similar cases (notifications, webhooks). See "Fast request routing using regular expressions"[1] for more details on such performances. [1] https://nikic.github.io/2014/02/18/Fast-request-routing-using-regular-expressions.html Change-Id: Ia7b3952a9b55e83acabc89183d3cfda7ad092377

Modified Files

Name
M plugins/tracker/include/trackerPlugin.class.php +2 −2 Go to diff View file