Skip to content

Fix to avoid PHP-FPM's bug#21

Merged
jakubpawlowicz merged 1 commit intoclean-css:masterfrom
dugwood:master
Apr 6, 2019
Merged

Fix to avoid PHP-FPM's bug#21
jakubpawlowicz merged 1 commit intoclean-css:masterfrom
dugwood:master

Conversation

@dugwood
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator

It's out in v4.3.0.

@dugwood
Copy link
Copy Markdown
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.

2 participants