laravel-s
laravel-s copied to clipboard
LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.
swoole的log,一直出现如下报错 WARNING swReactorEpoll_wait(:259): EPOLLIN handle failed. fd=17, Error: Resource temporarily unavailable[11] 通过ps -efH|grep laravels查询。看到有好几个脱离master的worker。占用很多的cpu资源。 重启应用,脱离的master的worker不会销毁 目前通过kill掉pid解决。
读写分离的问题
我配置了,‘sticky’ => true, 发现大部分请求还是走到了写库(主库),这个要怎么解决. 走fpm的正常的,但是swoole下就不正常了。 目前解决方案(但是未在生产环境上试用): 通过写一个清除器,修改recordsModified这个属性。不知道是否会有其他更好的解决方案处理, 查看源代码方法如下:  我实现的方法如下:  
1. Your software version (Screenshot of your startup) +--------------------------------+---------+ | Component | Version | +--------------------------------+---------+ | PHP | 7.3.27 | | Swoole | 4.4.5 | | LaravelS | 3.7.19 |...
跨域中间件用的LumenCors , 每次php artisan laravels start 后 前几次 Access-Control-Allow-Origin:* 响应头还是成功的, 几次请求一走 响应头设置的cors 中间件就无效了  
在容器中清除 #370
This is more a question as opposed to a bug. Would be possible to switch mode from Swoole_process to Swoole_base? I cannot find any reference of it here but as...
php 8.0.14 swoole 4.8.5 laravelS 3.7.30 laravel framework 8.76.2 after connect a user to WebSocket auth forget ?
1. Your software version | Software | Version | | --------- | --------- | | PHP | 7.4 | | Swoole | 4.5.5 | | Laravel/Lumen | 7 | 2....