11 Commits

Author SHA1 Message Date
7079d31006 MP 又 修改定义了 im_msg_data 数据包
同步库添加了一些代码
2023-07-01 20:22:27 +08:00
61ff6fe46b 修改了 添加好友的代码
发现了获取验证码的bug delete sri后 无报错不发数据包
还有填写验证码 错误 session删除了
2023-06-16 20:37:27 +08:00
12cc086093 主要修复邮箱登陆,
可以根据account搜索用户
添加暂时没做
下一个步 添加 好友
2023-06-07 20:02:54 +08:00
4f71b78676 ubuntu 重装后 发现项目有一些依赖 用的的系统路径, 遂添加到项目内 2023-06-05 16:18:53 +08:00
7ca282cdb3 暂时没啥思路, 后续吧mongcxx的一些繁琐操作 封装在db_base里吧 2023-05-29 21:03:12 +08:00
91bbb3e133 mongodb timeline 还在研究
暂时写这么点
2023-05-29 18:12:22 +08:00
5524dcc9b6 0813 21:15 没什么大的改变 改了下链接空闲最大秒数, 还有注册的返回值 加了申请的帐号信息 2023-05-13 21:17:48 +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
765ee70641 0508 20:58 补充上一个 验证码接口还没完善 2023-05-08 20:58:37 +08:00
22aad48719 0507 19:40 db service 分离 添加好友进度一丢丢 2023-05-07 19:40:48 +08:00
824ea2a25f tbb libevent protobuf 2023-05-03 19:09:14 +08:00