Featured image of post 修復 PHPUnit 出現 gRPC thread pool idle 警告的方法

修復 PHPUnit 出現 gRPC thread pool idle 警告的方法

PHPUnit 測試時不斷出現 gRPC "Waiting for thread pool to idle" 警告,原因是 gRPC 版本過高,降版到 1.49.0 即可消除。

跑 PHPUnit 測試時不斷出現 Waiting for thread pool to idle before forking,這是 gRPC 擴充套件在 fork 前等待 thread pool 閒置所造成的。

降版 grpc 擴充套件

把 grpc 降到 1.49.0 就不會再出現這個訊息:

1
pecl install -o -f grpc-1.49.0