-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regex is blocking thread #2703
Comments
@modestaspruckus thank you for the report. I am looking into this issue. Unfortunately, it doesn't look like we have a way to disable query parsing individually. In the meantime, can you provide me with an SQL statement that would fail? Basically, what does a basic statement look like that would include the provided JSON as part of it? |
@modestaspruckus are you able to provide the additional context I have requested? |
I am closing this as not reproducible due to lack of response. If you are able to provide the requested information, please do and we can re-open the issue. If you try the changes in #2714 and find that the solve the issue, please report that as well. |
[NOTE]: # sql query parser is blocking main thread
Description
We're using latest newrelic package ^12.6.0 and noticed performance issues with enabled apm agent. Node profiling shows that issue relies on sql parser regex. Issue occurs only with enabled newrelic package.
Expected Behavior
Try to avoid using heavy regex
node profiling results
Steps to Reproduce
Issue occurs only when specific json is saved to database e.g. having many
\\\\
characters inside (attaching payload example)scratch_86.json
Your Environment
node@20
mysql2 package
[email protected]
Additional context
The text was updated successfully, but these errors were encountered: