laravel-s icon indicating copy to clipboard operation
laravel-s copied to clipboard

LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

Results 78 laravel-s issues
Sort by recently updated
recently updated
newest added

怎么使用websocket 与rabbitmq 结合推送消息?

analyzing

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解决。

analyzing

我配置了,‘sticky’ => true, 发现大部分请求还是走到了写库(主库),这个要怎么解决. 走fpm的正常的,但是swoole下就不正常了。 目前解决方案(但是未在生产环境上试用): 通过写一个清除器,修改recordsModified这个属性。不知道是否会有其他更好的解决方案处理, 查看源代码方法如下: ![dfc44b43d4fb4943d5d310a2418137a](https://user-images.githubusercontent.com/17807750/170408902-4fce85cc-ea70-49ad-b581-60859fd435a8.png) 我实现的方法如下: ![43da34356a841995ff1edc0a7ae7e58](https://user-images.githubusercontent.com/17807750/170409006-8d839812-e519-44d1-b32a-ff6cc59211e3.png) ![6c1bc86e322f3479d686b2b35840f58](https://user-images.githubusercontent.com/17807750/170408958-dde614c6-67c8-42d5-afd9-9e93194a6a19.png)

analyzing

1. Your software version (Screenshot of your startup) +--------------------------------+---------+ | Component | Version | +--------------------------------+---------+ | PHP | 7.3.27 | | Swoole | 4.4.5 | | LaravelS | 3.7.19 |...

bug

跨域中间件用的LumenCors , 每次php artisan laravels start 后 前几次 Access-Control-Allow-Origin:* 响应头还是成功的, 几次请求一走 响应头设置的cors 中间件就无效了 ![_ _20180417174001](https://user-images.githubusercontent.com/10612276/38862064-90d2f708-4266-11e8-8f66-6dbeb37e5e9d.png) ![_ _20180417174021](https://user-images.githubusercontent.com/10612276/38862065-910be252-4266-11e8-8ebb-ebaeb66369bb.png)

compatibility

使用GuzzleHttp经常报连接超时

question

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....

analyzing