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

Using headless in a multithreaded program #99

Open
mikedalpee opened this issue Jan 6, 2018 · 0 comments
Open

Using headless in a multithreaded program #99

mikedalpee opened this issue Jan 6, 2018 · 0 comments

Comments

@mikedalpee
Copy link

I am trying to use headless in a program with SuckerPunch were each job independently accesses different websites using watir/selenium/chrome. Kicking off a single job works fine, but I begin to experience reliability issues if I try to run more than one job concurrently. Is headless able to be used in this manner? I followed your instructions for shared use via "forking", but if by that you meant creating separate processes, then that might explain my issue. In any event, can headless be used by multiple threads withing the same process, and if so, what is the proper usage pattern?

Thanks.

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