7 Commits

Author SHA1 Message Date
7079d31006 MP 又 修改定义了 im_msg_data 数据包
同步库添加了一些代码
2023-07-01 20:22:27 +08:00
4f71b78676 ubuntu 重装后 发现项目有一些依赖 用的的系统路径, 遂添加到项目内 2023-06-05 16:18:53 +08:00
431416c072 要该包类型宏 修改完毕 2023-05-16 21:59:18 +08:00
7b54e1449e 创建了vector保存固定数量的mysql链接,使用时取vector的, 暂时解了回收链接的问题。 而不是无限的新建
封了一层回收mysql链接的函数

解决了表面上的内存泄漏

30个链接 在4MB 左右
而新建 返回到池 在2.5 左右

注:后续好好看一下 mysqlpp 的连接池内容
Grab a free connection from the pool.
This method creates a new connection if an unused one doesn't exist, and destroys any that have remained unused for too long. If there is more than one free connection, we return the most recently used one; this allows older connections to die off over time when the caller's need for connections decreases. Do not delete the returned pointer. This object manages the lifetime of connection objects it creates.
Return values

a pointer to the connection
2023-05-13 14:27:10 +08:00
c11a292f51 test init request包 序列化的字符串 会多出字节 浮点型server解析不出来。 2023-05-11 18:26:47 +08:00
6f77f55609 小范围修改 删除打印 2023-05-04 12:55:59 +08:00
824ea2a25f tbb libevent protobuf 2023-05-03 19:09:14 +08:00