-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Error while run concurrently with bluebird #7104
Comments
Thanks for filing @phuongnq! Unfortunately, running LH concurrently in the same node process isn't really supported (you've run into one of the gotchas here, but there are a few more). You'll have to run them in separate child process to run LH concurrently. It's also worth noting that running LH concurrently on the same machine can skew performance results due to resource contention, so it's not the recommended approach on typical machines (if you have plenty of cores, i.e. 12+, and more network bandwidth than you know what to do with, then it's probably fine). |
Thanks for the response @patrickhulce! If it is not fully support we can close this ticket. Running on different processes should be a solution. |
While running 2 instances of
browser
with Bluebird (http://bluebirdjs.com/docs/getting-started.html). I got following error:The issue is about some log function from
gather-runner.js
. If I disable log functionsconst log = require('lighthouse-logger');
, it works as expected.Here is my sample code:
The text was updated successfully, but these errors were encountered: