Closed cragonnyunt closed 2 years ago
According to Openswoole documentation,
capacity Set the channel max capacity, must be greater than or equal to 1.
Ref link - https://openswoole.com/docs/modules/swoole-coroutine-channel-construct
Which causes grpc clients to break between servers.
[2022-01-27 16:40:43] local.ERROR: Swoole\Coroutine\Channel::__construct(): capacity is invalid {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Swoole\\Coroutine\\Channel::__construct(): capacity is invalid at /var/www/vendor/swoole/grpc/src/Grpc/Client.php:207) [stacktrace] #0 {main}
This PR can fix above bug.
According to Openswoole documentation,
Ref link - https://openswoole.com/docs/modules/swoole-coroutine-channel-construct
Which causes grpc clients to break between servers.
This PR can fix above bug.