NodeJS server can't handle multiple users NodeJS server can't handle multiple users heroku heroku

NodeJS server can't handle multiple users


Putting horseman.close() inside of the finally may not give it enough time to actually close our the phantomJS process completely. Try changing the finally into a .then(), and return horseman.close().