York.Gu
York.Gu
耗时降低至原算法的 1/3 左右
在进行日志分析处理时,大量的 IP.find 对整体运行时间的影响很大
It shows the following error when press run of Xcode on Simulators: uncaught error Error: UnableToResolveError: Unable to resolve module image!ic_search from ****/js/tab.home.js: Invalid directory /Users/node_modules/image!ic_search I entered deep into...
In file lib/dialects/mysql/connector-manager.js, line 111 connection.queryType should be write, not read
mcrypt_module_open,mcrypt_module_close 函数看起来不会释放所申请的资源句柄ID,在swoole中如果使用到就会导致 too many connection 而拒绝服务 我是使用下面类似的代码来判定 mcrypt_module_close 不释放句柄 ID 的 ``` var_dump(fopen('/tmp/test.txt', 'r')); for($i=0; $i
line 325 of async_thread.cc `pool = new async_thread_pool(SwooleAIO.min_thread_count, SwooleAIO.min_thread_count);` I think the second param should be SwooleAIO.max_thread_count
php version: 7.3.7 swoole version: 4.4.5 coredump bt: (gdb) bt #0 0x000000000084e964 in zend_array_count () #1 0x000000000079c13f in php_var_serialize_intern.part.7 () #2 0x000000000079fe85 in php_var_serialize () #3 0x00007fc8273b7385 in php_swoole_task_pack (task=task@entry=0x25e27e0,...
示例项目地址:https://github.com/starfalling/hyperf-http2-memory-leak 重现步骤: 1. composer install 安装依赖 2. php bin/hyperf.php start 启动服务端 3. php bin/hyperf.php test 启动 http2 测试端 测试运行一段时间,服务端内存占用会一直涨,使用 swoole 4.4.5 版本不会有这个问题
Please answer these questions before submitting your issue. Thanks! 1. What did you do? If possible, provide a simple script for reproducing the error. 2. What did you expect to...
#### Test code: ```php