caijwei
caijwei
> 这东西其实就是个注释 额 我知道这个是注解,这不是升到3以后,都使用php官方注解了,摒弃了原本的@注解了,只是这个为啥不使用php官方的
> https://github.com/lishuncoder/enums 我觉得这个挺好的 感谢 如果官方不支持 我就换下这个 哈哈
> ``` > 我原本的想法是通过ProcessCollector::get($this->name),拿到三个process,并根据pid判断应该往哪个进程push数据,但是取出的process,根本没有pid,所以只能通过广播给三个进程,让每个进程自己识别消息处理 > ``` > > 这里,拿出了 process 之后,再反射拿一下对应的 process 呢? 好像不行 ,我是继承了bindServer,在后面循环ProcessCollector::get($this->name),并进行$process->useQueue(mode: Process::IPC_NOWAIT)设置,而此时handle还没执行了,就算反射了 也肯定拿不到pid,而如果每次push时反射效率太低,emmmm 对象本身是引用传值,为啥这俩对象会变得毫无关联呢
[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See In my project, Google Chrome will also have such an error, I think this...
你的这个文件是当server是协程时才会启动,而我的项目是'mode' => SWOOLE_PROCESS, 配置文件如下 [ 'mode' => SWOOLE_PROCESS, 'servers' => [ [ 'name' => 'ws', 'type' => ServerInterface::SERVER_WEBSOCKET, 'host' => '0.0.0.0', 'port' => (int)env('WS_PORT'), 'sock_type' => SWOOLE_SOCK_TCP, 'callbacks' => [...
试过了,确实并不走这个逻辑。。
After testing, you can clean up all related containers and the network created during this run by executing the following command: `docker ps -a --format '{{.Names}}' | grep '^apisix-debug-' |...
@hanqingwu I’d like to provide some additional test details: The host machine is a MacBook Pro with an M3 chip (Apple Silicon), running APISIX inside Docker. Without explicitly setting worker_processes,...
After setting worker_processes to 4, the first few restarts all returned 200 as expected, but on the 13th time I ran ./restart.sh, a 503 error occurred again.
After adding events.module and setting worker_processes to 4, 503 errors still occasionally occur, and they follow a consistent pattern. During the execution of restart.sh, test.sh is continuously running. If the...