Commit Graph

52 Commits

Author SHA1 Message Date
liujian
852c8abcb4 feat:examples: \PDO::ATTR_EMULATE_PREPARES => false 2022-05-22 18:13:32 +08:00
liujian
f66baf1d04 feat:examples: 新增Once解决并发创建对象问题,移除mix/init方案 2022-05-21 23:11:03 +08:00
liujian
1f3cc94b7d feat:examples: 新增Once解决并发创建对象问题,移除mix/init方案 2022-05-21 22:59:37 +08:00
liujian
fa4064953f feat:examples: 默认注释中间件,便于测试 2022-05-21 22:45:07 +08:00
liujian
2eb6cb105a feat:examples: 优化中间件在无header时的处理 2022-05-21 22:23:15 +08:00
liujian
74f552262a feat:examples: 修改PDO默认返回Array,增加PDO::ATTR_EMULATE_PREPARES=false因为某些版本会导致int转str的问题 2022-05-21 15:34:04 +08:00
liujian
a6d551d944 feat:examples: 优化细节 2022-05-19 23:02:55 +08:00
liujian
9d3dd7f955 feat:examples: 优化中间件demo 2022-05-16 09:53:35 +08:00
liujian
a3dcf66dfc Merge remote-tracking branch 'origin/master' 2022-05-01 17:14:12 +08:00
liujian
a1b7a17234 feat:examples: Add CoroutineRun 2022-05-01 17:14:05 +08:00
LIU JIAN
1b79ca0b9f
Update README.md 2022-04-19 11:51:11 +08:00
LIU JIAN
734e8ef347
Update README.md 2022-04-19 11:50:25 +08:00
cexll
c82a6a514a update readme 2022-04-19 11:39:06 +08:00
cexll
fe2c8c59b8 style composer.json remove swow/swow 2022-04-19 11:37:22 +08:00
LIU JIAN
20d77add38
Merge pull request #109 from cexll/develop
feat: Use Process\Pool to manage coroutines (grpc,websocket)
2022-04-15 10:26:38 +08:00
cexll
d1536d57c4 feat: Use Process\Pool to manage coroutines (grpc,websocket) 2022-04-14 17:05:14 +08:00
liujian
83c730b054 feat: README.md 2022-04-06 20:28:18 +08:00
cexll
b4c0b70348 update readme 2022-04-06 11:13:27 +08:00
cexll
6cf982731b optimize: swow.php 2022-04-06 09:27:09 +08:00
cexll
2ce30f4bb6 add web-skeleton swow startup file 2022-04-05 12:21:15 +08:00
cexll
e946a9fd72 add swow startup file readme 2022-04-05 12:17:17 +08:00
cexll
7f92b426b0 append web-skeleton dockerfile 2022-04-02 21:40:47 +08:00
cexll
ab75e8d744 feat: skeleton add dockerfile template 2022-04-02 15:09:36 +08:00
cexll
0dcc6c4a60 fix php8.1 Noodlehaus\AbstractConfig::rewind() should either be compatible with Iterator::rewind(): void 2022-03-26 17:21:28 +08:00
liujian
9a1dbc434b feat:docs:readme 2021-09-26 14:51:36 +08:00
liujian
4db91089f5 feat:examples:ws session 2021-09-26 13:19:09 +08:00
liujian
ae9648440c feat:docs:ws test tool 2021-09-26 13:09:11 +08:00
liujian
4f1767dbae feat:websocket:优化连接异常错误信息 2021-09-26 13:01:54 +08:00
liujian
5cfb4e664e feat:examples:增加RegisterOnShutdown机制 2021-09-26 10:26:18 +08:00
liujian
ee21a80e12 feat:examples:static private 2021-09-26 10:15:38 +08:00
liujian
b22295bb03 feat:examples:统一文档内容 2021-09-24 16:00:08 +08:00
liujian
5656a39ac9 feat:docs:修改部署shell 2021-09-24 14:49:43 +08:00
liujian
738c8dd029 feat:examples:修改init 2021-09-19 00:03:51 +08:00
liujian
4d8964f61b feat:examples:fpm,cli可以懒加载单例,其他多进程与协程预加载 2021-09-18 14:27:00 +08:00
liujian
2d547da59a feat:examples:fpm init 2021-09-18 13:47:52 +08:00
liujian
8c16940c7a feat:examples:增加init预加载,应对协程并发下单例多次new的问题 2021-09-18 12:27:18 +08:00
liujian
bad218fbf8 feat:examples:细化异常日志等级 2021-09-16 14:58:10 +08:00
liujian
d1557c5e5b feat:examples:swoole协程不支持set_exception_handler,因此set_error_handler内部逻辑只打印,不做\Error对象转换,避免出现Uncaught Error 2021-09-16 14:37:38 +08:00
liujian
7212892fc6 feat:examples:压测时极端情况很多连接被强行断开,Response 发送数据的时候会抛出 E_WARNING http response is unavailable,由于是单进程协程,会导致进程退出,因此忽略 E_WARNING 来处理这种情况,理论上 swoole 设计成抛出异常会让我们更好控制。 2021-09-16 12:19:07 +08:00
liujian
6fe7008184 feat:examples:add #!/usr/bin/env php 2021-09-07 11:34:33 +08:00
liujian
8ec4f4ee92 feat:examples:add ini_set 2021-09-07 11:31:58 +08:00
liujian
3fe8b0617c feat:examples:modify method() 2021-09-03 11:25:54 +08:00
liujian
57dc0eeae4 feat:examples:up printf 2021-08-31 18:09:15 +08:00
liujian
2b8ae8a7ef feat:examples:addr 2021-08-24 11:46:25 +08:00
liujian
65dbd2f725 feat:examples:优化启动脚本 2021-08-24 11:37:42 +08:00
liujian
53203b54c8 feat:all:~3.0 > ~3.0.0 2021-08-19 14:58:52 +08:00
liujian
6f1908aecb feat:all:~3.0 > ~3.0.0 2021-08-19 14:50:28 +08:00
liujian
c1c403980c feat:examples:up middleware 2021-08-16 15:08:20 +08:00
liujian
5c4c14b6c9 feat:examples:env 2021-08-05 11:58:51 +08:00
liujian
358d034acd feat:examples:add cli-skeleton 2021-08-05 11:57:37 +08:00