-
### 现象
swoole进程中,创建协程,使用协程客户端从服务端收取消息,结果报错`[FATAL ERROR]: all coroutines (count: 1) are asleep - deadlock!`
### 简化代码
```php
-
Please answer these questions before submitting your issue. Thanks!
1. What did you do? If possible, provide a simple script for reproducing the error.
```php
$app = Factory::miniProgram($this-…
-
Execute the command and paste the result below.
Command: `uname -a && php -v && composer info | grep hyperf && php --ri swoole`
```bash
Linux 123e5b0fb53f 5.10.102.1-microsoft-standard-WSL2 #1 …
-
我有一批域名要去另一个接口请求下有没有被使用过,但是对方的接口设置了限流,每秒钟只能请求3个左右,多的话会提示接口调用频繁,状态码返回的是2,我就写了一个递归,用协程sleep(30)后再去请求,代码如下:
```php
private function checkDomainStatus($item, int $times = 1): bool
{
// 超过20次不再检测
…
-
I think that under swoole coroutines, the yield keyword of the "waitForNavigation" method will conflict with swoole. It always times out
-
Workerman is an asynchronous event-driven PHP framework with high performance to build fast and scalable network applications. Workerman supports HTTP, Websocket, SSL and other custom protocols. Worke…
-
reopen https://github.com/swoole/swoole-src/issues/4522 (still reproduce)
1. What did you do? If possible, provide a simple script for reproducing the error.
I try to send http requests using `symfo…
-
What is intended method to implement production-ready RPC server using this lib?
Is it possible to bootstrap some loop (using roadrunner?) with good stability and proper connection-outage handling?
…
-
Trying to use `PostgreSqlSwooleExtConnection` in a `hyperf/pool`
The following code seems to work at first, but later requests (after connection timeout limit passed maybe?) seem to result in swoole …
-
Hello, When I am using following code block in my laravel application controller it is throwing error.
```