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

Use singleton Chrome instance to convert into PDF #19

Merged
merged 2 commits into from
Sep 16, 2018
Merged

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Sep 16, 2018

Fix to use singleton Chrome instance to convert into PDF.

Currently we launch Chrome process per converting files. To divide process might be a rational behavior for handling unexpected errors of browser, but it cannot recieve better performance in multiple fiie conversion or watch mode because it repeats launch and close at each Chrome processes.

We have fix to use the same instance of Chrome as much as possible. We would launch again instance if it has disconnected by some reason.

@yhatt yhatt merged commit a9b74d4 into master Sep 16, 2018
@yhatt yhatt deleted the singleton-chrome branch September 16, 2018 20:22
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

Successfully merging this pull request may close these issues.

1 participant