Improve root rate throttling code
Ignore node_modules