The GitHub Actions job "Backend CI" on hertzbeat.git/fix/nginx-precompile-regex has failed. Run started by GitHub user Hariomlokhande-coder (triggered by Hariomlokhande-coder).
Head commit for run: e2efc56e34e6cd5e5a0d980656028afd85f5afb4 / Hariomlokhande-coder <[email protected]> [collector]bugfix: compile Nginx constant regex patterns once NginxCollectImpl.regexNginxStatusMatch() called Pattern.compile() on REGEX_SERVER, REGEX_KEYS and REGEX_VALUES every time it ran, even though all three are compile-time constants. The method is reached from collect(), so the same unchanging patterns were recompiled once per collection cycle for every Nginx monitor. Hold them as static final Pattern fields compiled once at class load and reuse the instances. Closes #4388 Report URL: https://github.com/apache/hertzbeat/actions/runs/35691825299 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
