php-msf
php-msf copied to clipboard
PHP微服务框架即Micro Service Framework For PHP
``` /** * 通过对象池生成对象 * * @param array $args * @return \stdClass|mixed */ public function getObject(...$args) { //请求间隔久时,这里会出现this->context = null的情况。Miner过来的getObject(Mysql::class,...) return $this->context->getObjectPool()->get(...$args); } ```
我使用的 Vagrant 2.2.3 + centOS 7.0 ,在 DEMO 测试代码的时候,每次修改一个测试文件都要使用 php server.php 这个命令才会生效,我配置里这个 参数也打开了,这是为什么呢?
before : App\Controllers\Goods\Sku > actionLists:26 mb destory:处理 after : App\Controllers\Goods\Sku > actionLists:30 mb
是否有计划在框架中集成基于PSR-15规范的中间件?目前有没有替代方案实现类似中间件的功能?
new MysqlAsynPool出来的,这和设计不合理吗? 在MysqlAsynPool实例中this->getContext()一定是null了。
服务的注册,治理,降级,熔断等管理,貌似没有啊
最近经常报这个,这是swoole内部的问题,还是msf的?
WARNING swPort_onRead_http: Content-Length is too big, MaxSize=[2088960]. 怎么解决
有没有redirect()跳转函数