Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ 添加水群时长统计 #913

Merged
merged 12 commits into from
Jun 11, 2024

Conversation

guohuiyuan
Copy link
Contributor

No description provided.

plugin/chatcount/chatcount.go Show resolved Hide resolved
plugin/chatcount/model.go Outdated Show resolved Hide resolved
plugin/chatcount/model.go Outdated Show resolved Hide resolved
plugin/chatcount/chatcount.go Outdated Show resolved Hide resolved
plugin/chatcount/model.go Outdated Show resolved Hide resolved
plugin/chatcount/model.go Outdated Show resolved Hide resolved
plugin/chatcount/model.go Outdated Show resolved Hide resolved
@guohuiyuan
Copy link
Contributor Author

guohuiyuan commented May 29, 2024 via email

@fumiama
Copy link
Member

fumiama commented May 30, 2024

大部分更新数据库,就算加查找缓存,还是要更新数据库的时间的,所以我打算把时间戳和时长都放在内存算了

也可以,毕竟是以天为基准,也不会重启那么频繁,每条消息写一次开销太大了。

plugin/chatcount/chatcount.go Show resolved Hide resolved
plugin/chatcount/model.go Outdated Show resolved Hide resolved
plugin/chatcount/model.go Outdated Show resolved Hide resolved
plugin/chatcount/model.go Outdated Show resolved Hide resolved
plugin/chatcount/model.go Outdated Show resolved Hide resolved
@fumiama fumiama merged commit b637fe1 into FloatTech:master Jun 11, 2024
6 of 7 checks passed
vatebur pushed a commit to vatebur/ZeroBot-Plugin that referenced this pull request Jun 11, 2024
* ✨ 添加水群时长统计

* 🐛 优化名片逻辑

* 🐛 更新发言时间

* 🎨 格式化

* 🐛 添加锁

* 🎨 改成at

* 🎨 添加map

* 🎨 修lint

* 🐛 修改排序问题

* 🎨 优化lint
fumiama pushed a commit that referenced this pull request Jun 11, 2024
* (fix #922) mcfish bug:out of range (#923)

修复 mcfish 数组越界问题

* ✨ 添加水群时长统计 (#913)

* ✨ 添加水群时长统计

* 🐛 优化名片逻辑

* 🐛 更新发言时间

* 🎨 格式化

* 🐛 添加锁

* 🎨 改成at

* 🎨 添加map

* 🎨 修lint

* 🐛 修改排序问题

* 🎨 优化lint

---------

Co-authored-by: himawari <54976075+guohuiyuan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants