walkor

Results 250 comments of walkor

MySQL server has gone away 一般是由于mysql连接长时间不活跃被mysql服务端关闭。`illuminate\database` 内部有重连机制,这个warning可以忽略。 如果不想看到这个warning,你可以尝试将mysql服务端`wait_timeout`参数加大。 或者使用定时器,定时select数据,防止mysql连接被关闭,像下面这样。 创建文件 `support/bootstrap/db/Heartbeat.php` 如下: ```php

有可能你的系统装了两个版本的php

抱歉,暂时没有java的客户端。

https://github.com/shuiguang/workerman-statistics-java @shuiguang 写了一个java客户端,欢迎使用

I'm very sorry for the inconvenience. Please execute the command to install version 1.4. `composer require webman/console ^1.0.27 && php webman install` You're right. I'll pay attention next time。

一般开发者都是以 `.env` 为主的,用createUnsafeImmutable的话如果改了`.env`的配置,reload无法生效,所以改成了createUnsafeMutable

env不只是用于app.php中,还有数据库等配置

win多线程版本和linux多线程版本代码几乎是一样的,win版本出来后Linux 多线程版本也就出来了。 应该可以做到一个多线程版本即支持linux又支持win