-
Notifications
You must be signed in to change notification settings - Fork 400
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
Crash when express.Router() is used in different event loop #155
Comments
Looks like this is the same as #154 I'm going to pull your repro case into there |
Oh, I didn't notice that the problem always occurs with two route[verb] actions. |
cmcadams-newrelic
pushed a commit
to cmcadams-newrelic/node-newrelic
that referenced
this issue
Jan 29, 2024
feat: remove setLlmMetadata as the api has been removed. Update conversation_id to llm.conversation_id
jsumners-nr
pushed a commit
to jsumners-nr/node-newrelic
that referenced
this issue
Apr 16, 2024
…/protobufjs-7.2.4 Bump protobufjs from 7.2.3 to 7.2.4
bizob2828
pushed a commit
to bizob2828/node-newrelic
that referenced
this issue
Apr 19, 2024
Lock down all packages to max v3.193.0
bizob2828
pushed a commit
to bizob2828/node-newrelic
that referenced
this issue
Apr 23, 2024
Lock down all packages to max v3.193.0
bizob2828
added a commit
to bizob2828/node-newrelic
that referenced
this issue
Jul 26, 2024
Release v0.7.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my application I'm using the express.Router() class which got introduced in express v4.
I get an error when I try to initialize a route in a second event loop:
How to reproduce it
In this example I force a new event loop using nextTick. But in reality I have some routes and some middlewares. That's why a few routes are initialized in a second event loop without calling nextTick.
index.js
node index.js
I'm using express v4.4.3, newrelic v1.7.2
The text was updated successfully, but these errors were encountered: