-
| Q | A
| ------------------- | -----
| Bug report? | yes
| Feature request? | no
| Swoft version | 2.0.10
| Swoole version | 4.5.3 ~ 4.5.4
| PHP version …
-
`{"level":250,"level_name":"notice","channel":"swoft","datetime":"2019-11-26 11:59:51","event":"workerStart","tid":1,"cid":1,"traceid":"","spanid":"","parentid":"","cost(ms)":0.62,"mem(MB)":34,"uri":"…
-
这个系统写得很棒啊!
-
vendor/swoft/server/src/Server.php 在990行左右 这句代码
return $masterPID > 1 && Process::kill($masterPID, 0);
当我们用docker运行时 ,/var/www/swoft/runtime/swoft.pid 里面就是1,8 $masterPID等于1。
不大于1 不能进行re…
-
| Q | A
| ------------------- | -----
| Bug report? | yes
| Feature request? |no
| Swoft version | v2.0.7
| Swoole version | 4.4.17
| PHP version …
zarte updated
4 years ago
-
| Q | A
| ------------------- | -----
| Bug report? | yes
| Feature request? | no
| Swoft version | 2.0.8 (by `php bin/swoft -V`)
| Swoole version | 4.4.15…
-
我创建了一个普通类,但是match_redis是null,在控制器或者命令行脚本里面加就没有问题,帮忙排查下
```php
use Swoft\Bean\Annotation\Mapping\Bean;
use Swoft\Bean\Annotation\Mapping\Inject;
use Swoft\Redis\Pool;
/**
* Class BasicService
…
-
| Q | A
| ------------------- | -----
| Bug report? | yes/no
| Feature request? | yes/no
| Swoft version | x.y.z
| Swoole version | x.y.z (by `php --ri swo…
-
$connection = $this->pgsql->createConnection();
return $connection->select("SELECT * FROM test WHERE testid = AND testname = ;", array($id, $name));
这示例是错的,因为这个底层使用的是Coroutine\PostgreSQL
…
-
| Q | A
| ------------------- | -----
| Bug report? | yes
| Feature request? | yes
| Swoft version | 2.0.9 (by `php bin/swoft -V`)
| Swoole version | 4.4.1…