unshiftio / url-parse

Small footprint URL parser that works seamlessly across Node.js and browser environments.
http://unshift.io
MIT License
1.03k stars 104 forks source link

CPU went crazy with version 1.5.3 #211

Closed niryarden closed 3 years ago

niryarden commented 3 years ago

Hey, We've been using url-parse 1.5.1 for a while in our server. We upgraded to 1.5.3 following snyk report, and from the moment it was deployed to staging our CPU started to increase exponentially. It's been like that for 24 hours until we started investigating. The average CPU of our container went from 4% to 40%. At the moment we reverted the upgrade and went back to 1.5.1, the CPU went back down.

we suggested you'll check it out.

our stack: node 14.17.0 grpc-js 1.3.6 graphql 15.4.0

niryarden commented 3 years ago

well, after waiting some more time and investigating some more, it looks related to another package. so nvm