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?
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.