Skip to content
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

Re-use the same phantom process #57

Open
wch opened this issue Mar 1, 2018 · 0 comments
Open

Re-use the same phantom process #57

wch opened this issue Mar 1, 2018 · 0 comments

Comments

@wch
Copy link
Owner

wch commented Mar 1, 2018

When taking lots of webshots, the phantomjs startup for each one can add a lot of time. It would be faster to keep one phantom process around and reuse it. Perhaps it could exit after being idle for some amount of time.

Here's one possible way of doing it: https://stackoverflow.com/a/22677752/412655

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant