Commit Graph

2238 Commits

Author SHA1 Message Date
Cloud Wu
e21604783a Fix #2060 2025-06-15 10:49:56 +08:00
云华
4ff4db3161 feature: mongo 增加 bulkWrite (#2058)
mongo8.0 新增跨集合更新api: bulkWrite(相对单一更新 性能大幅提升)
btw: 低量级数据建议继续选择单一更新(insert/update等 )

应用场景:
1. 聚合数据更新
2. 日志db跨集合写入
2025-06-05 19:52:24 +08:00
maplescene
5885514138 Update mongo.lua (#2054)
这里运算符有优先级问题
2025-05-25 23:46:17 +08:00
Cloud Wu
e0bc6fe2d6 update lua 5.4.8 rc1 2025-05-22 07:47:18 +08:00
zhuilang
077d1fbd64 Update internal.lua (#2053)
header 传进来可能是空值
2025-05-21 17:52:32 +08:00
EfveZombie
5eab3d7e22 lua-skynet: lerror 格式符使用 "%*s", 节省一次 strlen (#2051)
* lua-skynet: lerror 格式符使用 "%*s", 节省一次 strlen

* make skynet_strdup/skynet_strndup static, remove skynet_asprintf/skynet_vasprintf

---------

Co-authored-by: efve.zff <efve.zff@alibaba-inc.com>
2025-05-21 17:49:34 +08:00
EfveZombie
b2612d92eb socket_server: 增加 request_package 初始化, 避免内存工具警告 (#2050)
* socket_server: 增加 request_package 初始化逻辑, 避免内存工具警告

* add request_init function instead of {0}

---------

Co-authored-by: efve.zff <efve.zff@alibaba-inc.com>
2025-05-21 15:35:57 +08:00
云华
94450ff00f fixed: service_gate_c half close (#2047) 2025-05-14 13:15:26 +08:00
tzngit
438c4ee9ed http chunked不能同时指定content-length (#2046)
Co-authored-by: tangzhaoning <sherlock@eyugame.com>
2025-05-12 18:22:17 +08:00
fanyh
1ba381a1c2 skynet_error output abnormal log add error tag (#2039) 2025-03-18 20:14:45 +08:00
Tom Lau
93e72a92ac allow t[nil] => nil in table returned by sharedata (#2037) 2025-03-06 12:03:30 +08:00
wanli
ad96b6c736 * 增加mysql使用execute方法解析date格式数据 (#2035)
* * 增加mysql使用execute方法解析date格式数据

* 优化mysql模块解析date失败时处理方式

---------

Co-authored-by: test <test@test.com>
2025-03-06 12:02:32 +08:00
Cloud Wu
ba64be6f9f Update history for v1.8.0 release v1.8.0 2025-01-14 09:50:26 +08:00
Jason N. White
e1c28ed13e Update LICENSE, fix license year (#2021)
Signed-off-by: JasonnnW3000 <sufssl04@gmail.com>
2025-01-01 08:53:34 +08:00
华仔
474f04e864 fix socketchannel closed thread not wakeup (#2020) 2024-12-30 21:26:40 +08:00
sundream
7c3942cdbd fix(rediscluster): maybe too many connection when MOVED (#2016) 2024-12-29 09:24:21 +08:00
navi
88df42a60f fix message数量过多导致int溢出 (#2014)
Co-authored-by: 角弓 <jiaogong.lzh@alibaba-inc.com>
2024-12-26 17:29:48 +08:00
851773277
cada3f5cb0 datacenterd query接口查询时,当db为nil时,终止递归 (#2006) 2024-12-09 19:51:37 +08:00
华仔
2fc8e86925 fix websocket accept mem leakage (#2002)
* fix websocket accept mem leakage

* fix websocket accept mem leakage

* fix websocket accept mem leakage

* fix websocket accept mem leakage
2024-12-07 15:20:19 +08:00
华仔
4c8d42153e throw it out err (#2003) 2024-12-06 17:23:42 +08:00
Bob Conan
b5403a6866 Updated HISTORY.md, fix typo(s) (#1999) 2024-11-16 07:34:04 +08:00
lcw4u
270ed6e198 fix: 调整一个错误描述 (#1991) 2024-10-24 09:40:49 +08:00
JulyWind
8900360fab fix client recv_package (#1977) 2024-09-14 17:37:01 +08:00
b1bb84ddbd 去除语法检查告警 (#1973)
* Update loader.lua去除语法检查告警

* Update mysql.lua去除语法检查告警
2024-08-30 12:33:30 +08:00
huojicha
839570ce3f 1.提供支持ipv6的udp client和server接口, 可支持ipv6 (#1967)
* 1.提供支持ipv6的udp client和server接口, 可支持ipv6

* remove chinese comments
2024-08-08 02:34:15 +08:00
bcf97ecd1b debug_console help命令增加getenv,setenv信息 (#1966) 2024-08-07 14:14:04 +08:00
4dfdeb146e debug_console增加getenv,setenv命令 (#1965)
方便获取配置文件中信息
2024-08-07 11:59:27 +08:00
76d73c295f debug_console 增加http post,避免get url转义问题 (#1964)
增加http post,避免get url转义问题
2024-08-07 10:54:03 +08:00
zhuilang
c2b391ed42 Update httpc.lua (#1962) 2024-07-27 00:42:15 +08:00
89372a257d https set extension:server_name (#1960)
Co-authored-by: root <root@DESKTOP-5DF4NN3.localdomain>
2024-07-24 11:55:05 +08:00
Cloud Wu
b519c53fe4 Try to fix #1958 2024-07-22 00:52:19 +08:00
Bruce
027e599037 Avoid different function declarations when build as windows DLL (#1959) 2024-07-21 07:45:21 +08:00
hong
2cfe36a809 refix register_name_mt (#1954) 2024-07-06 12:59:33 +08:00
hong
059fd5cc00 new_register_name() (#1949) 2024-06-28 05:32:01 +08:00
Cloud Wu
64a0ed4bfa Try to fix #1948 2024-06-27 08:31:30 +08:00
Cloud Wu
41928512f0 Use getshrstr() 2024-06-26 13:05:27 +08:00
Cloud Wu
afb50a0587 update lua 5.4.7 2024-06-26 08:41:59 +08:00
Cloud Wu
aa20f7642b cleanup 2024-06-24 23:15:20 +08:00
anonymou3
f214c68ff3 The listen function supports passing backlog parameters (#1941)
Co-authored-by: anonymou3 <anonymou3>
2024-06-24 07:21:49 +08:00
华仔
dc1980dfc8 fix attempt to concatenate a nil value (local timeout) (#1936) 2024-06-24 07:21:49 +08:00
mippo520
ccd923c44f skynet.wait中使用的session增加回绕判断 (#1931)
* skynet.wait中使用的session增加回绕判断

* 去除session判空

---------

Co-authored-by: mippo <hui.zeng@centurygame.com>
2024-06-24 07:21:49 +08:00
King
c226ea3f1f 修复打开DEBUG_LOG时,编译错误 (#1922) 2024-06-24 07:21:49 +08:00
华仔
45b407481d fix socketchannel mem leakage (#1921) 2024-06-24 07:21:49 +08:00
Ikko Eltociear Ashimine
8f7e9cc823 docs: update README.md (#1908)
sumbit -> submit
2024-06-24 07:21:49 +08:00
Cloud Wu
89a821ced0 Avoid to use je_malloc_usable_size, See #1907 2024-06-24 07:21:31 +08:00
yzj12138
267e4ad44d skynet使用原生error,防止给替换 (#1906)
Co-authored-by: xingfan.yzj <xingfan.yzj@alibaba-inc.com>
2024-05-09 18:06:47 +08:00
chengf2018
1a0041982b fix annotation (#1903) 2024-04-24 10:16:17 +08:00
t0350
caf513e6c0 make task/uniqtask consistent (#1902) 2024-04-23 15:32:36 +08:00
华仔
18a6dc5786 typo rename faild to failed (#1901) 2024-04-10 13:51:03 +08:00
华仔
22df64244a 优化http出错抛出更详细的错误信息 (#1900)
* 优化http出错抛出更详细的错误信息

* 优化http err_info写法
2024-04-10 13:40:41 +08:00