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

Fix to avoid PHP-FPM's bug #21

Merged
merged 1 commit into from
Apr 6, 2019
Merged

Fix to avoid PHP-FPM's bug #21

merged 1 commit into from
Apr 6, 2019

Conversation

dugwood
Copy link
Contributor

@dugwood dugwood commented May 27, 2018

PHP-FPM has a bug with STDIN: https://bugs.php.net/bug.php?id=73342

Running clean-css-cli in a PHP's exec will hit the bug, and PHP-FPM master's process will peak at 100% CPU usage.

Ignoring the stdin test if there's no argument can avoid the bug.

PHP-FPM has a bug with STDIN: https://bugs.php.net/bug.php?id=73342

Running `clean-css-cli` in a PHP's `exec` will hit the bug, and PHP-FPM master's process will peak at 100% CPU usage.

Ignoring the `stdin` test if there's no argument can avoid the bug.
@dugwood
Copy link
Contributor Author

dugwood commented May 27, 2018

Hum, failing on node 8.x, but I don't know why. Can you help me on this one @jakubpawlowicz? Thanks a lot for your work!

@jakubpawlowicz
Copy link
Collaborator

I know it's been ages since your PR but I've just rebuilt tests and they pass. Since the change looks sensible I'm going to merge it.

@jakubpawlowicz jakubpawlowicz merged commit 245799d into clean-css:master Apr 6, 2019
@jakubpawlowicz
Copy link
Collaborator

It's out in v4.3.0.

@dugwood
Copy link
Contributor Author

dugwood commented Apr 6, 2019

Thanks @jakubpawlowicz, I can finally remove my patch script :-) Thanks again for this software and your time!

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.

None yet

2 participants