楼主: fsdsbbs

[未归类主题(有空慢慢分)] 开启服务器多线程解决上限100卡顿问题,LH,VM

[复制链接]
发表于 2022-11-19 16:10:18 | 显示全部楼层
有老哥研究成功了吗?
ThreadParm *parm 这是哪个类啊?
回复

使用道具 举报

183

时沙

0

精华

1

主题

声望: 136   虚弱: 0

Lv.2(潜行者)

炉石

发表于 2023-1-26 00:00:55 | 显示全部楼层
正好看到这篇帖子。现在的端config里都有这个选项。
#        Description: The amount of worker threads spawned to handle asynchronous (delayed) MySQL
#                     statements. Each worker thread is mirrored with its own connection to the
#                     MySQL server and their own thread on the MySQL server.
#        Default:     1 - (LoginDatabase.WorkerThreads)
#                     1 - (CharacterDatabase.WorkerThreads)
#                     1 - (HotfixDatabase.WorkerThreads)
#                     1 - (WorldDatabase.WorkerThreads)

是不是改这个就可以调整负载呢,我这里超过110人就掉线,源码里并没有看到人数限制。 感谢
[发帖际遇]: ooinini多动症发作,不停乱跳跌落悬崖导致灭团,失去4 声望. 幸运榜 / 衰神榜
回复

使用道具 举报

快速回复 返回顶部 返回列表