手瓜一十雪
|
8be5b977bf
|
Merge pull request #117 from po-lan/main
对缓存进一步优化
|
2024-07-12 09:52:17 +08:00 |
|
po-lan
|
d7ddb15f9c
|
对缓存进一步优化
LRUCache 将所有被移除的缓存数据作为事件参数传递给事件处理程序。
在数据库操作部分,优化了读写流程,以确保每个群组至多执行三次数据库操作:
读取:先判断缓存中是否存在用户记录,若不存在则读取数据库。
创建:如果用户记录在数据库中不存在,则新增记录。
修改:如果用户记录在数据库中存在,则进行修改。
即使单个群组内有大量用户,每种操作也只会执行一次。
|
2024-07-12 00:46:03 +08:00 |
|
手瓜一十雪
|
9a6a1798d0
|
build: poke能用25493
|
2024-07-11 12:44:42 +08:00 |
|
手瓜一十雪
|
14196fd349
|
build: 移除调试代码
|
2024-07-11 12:31:00 +08:00 |
|
手瓜一十雪
|
941b89a523
|
feat: uin转换优化&poke支持重写
|
2024-07-11 12:28:11 +08:00 |
|
手瓜一十雪
|
a5f9e5f8c0
|
Merge pull request #113 from idranme/main
perf: audio
|
2024-07-11 09:49:56 +08:00 |
|
idranme
|
80c3356c8f
|
perf: audio
|
2024-07-10 17:44:17 +00:00 |
|
手瓜一十雪
|
914136b750
|
refactor: 移除异常代码
|
2024-07-10 21:39:03 +08:00 |
|
手瓜一十雪
|
f9a60795f5
|
feat: uid转换优化
|
2024-07-10 21:33:31 +08:00 |
|
手瓜一十雪
|
19640927c7
|
Merge branch 'main' of https://github.com/NapNeko/NapCatQQ
|
2024-07-10 21:11:43 +08:00 |
|
手瓜一十雪
|
22faac7e36
|
fix: friend uid 异常
|
2024-07-10 21:11:28 +08:00 |
|
手瓜一十雪
|
30d260ab32
|
Merge pull request #111 from idranme/main
fix: error catch
|
2024-07-10 11:55:53 +08:00 |
|
idranme
|
115120d066
|
Update file.ts
|
2024-07-10 11:35:55 +08:00 |
|
idranme
|
1327844736
|
fix: error catch
|
2024-07-10 03:25:25 +00:00 |
|
手瓜一十雪
|
29904f3cb7
|
feat: 164 way03启动脚本补充
|
2024-07-06 13:23:31 +08:00 |
|
手瓜一十雪
|
50395594b7
|
Merge pull request #106 from jetjinser/fix-editorconfig
fix: `.editorconfig` wrong pair `end_of_line`
|
2024-07-05 22:43:23 +08:00 |
|
Jinser Kafka
|
9360af88b3
|
fix: .editorconfig
|
2024-07-05 19:36:32 +08:00 |
|
手瓜一十雪
|
376370336c
|
release: 1.6.5
|
2024-07-05 16:50:57 +08:00 |
|
手瓜一十雪
|
70df6e3302
|
Merge pull request #105 from po-lan/main
对缓存小优化
|
2024-07-05 16:49:30 +08:00 |
|
手瓜一十雪
|
0a1fc2dc12
|
feat: 1.6.5
|
2024-07-05 16:49:16 +08:00 |
|
手瓜一十雪
|
9857f6e437
|
feat: 优化载入流程
|
2024-07-05 16:47:08 +08:00 |
|
手瓜一十雪
|
56d6ebe916
|
refactor: 迁移到新库
|
2024-07-05 15:48:03 +08:00 |
|
po-lan
|
81134ea2d4
|
Update LRUCache.ts
|
2024-07-05 12:13:24 +08:00 |
|
po-lan
|
a9f3e7fc54
|
Update db.ts
通过读取缓存修复刚说话缺无法获取发言时间的问题
|
2024-07-05 12:12:40 +08:00 |
|
po-lan
|
eb84e2f8c9
|
Update LRUCache.ts
Add a get function to the cache
|
2024-07-05 12:09:59 +08:00 |
|
手瓜一十雪
|
61cfa0e86d
|
release: 1.6.4
|
2024-07-03 14:30:55 +08:00 |
|
手瓜一十雪
|
0a01b8ade9
|
Merge pull request #97 from cnxysoft/main
修改下载函数
|
2024-07-02 10:13:15 +08:00 |
|
Alen
|
1457efa9a4
|
修改下载函数
为默认Headers增加Host,解决一些网站无法下载文件的问题
|
2024-07-02 01:07:30 +08:00 |
|
手瓜一十雪
|
fa5c7add7a
|
refactor: new core
|
2024-07-01 18:45:48 +08:00 |
|
手瓜一十雪
|
d644eba4d1
|
refactor: napcat
|
2024-07-01 18:24:36 +08:00 |
|
手瓜一十雪
|
9c422c1a8f
|
Merge pull request #95 from ahjsrhj/main
feat: ws反代请求添加UA: OneBot/11
|
2024-07-01 13:20:47 +08:00 |
|
手瓜一十雪
|
b6db37202f
|
feat: core code
|
2024-07-01 13:18:59 +08:00 |
|
手瓜一十雪
|
4ca3891089
|
refactor: core
|
2024-07-01 13:18:19 +08:00 |
|
ahjsrhj
|
4c7ed01776
|
feat: ws反代请求添加UA: OneBot/11
|
2024-07-01 11:19:15 +08:00 |
|
手瓜一十雪
|
45c922c377
|
release: 1.6.3
|
2024-06-28 14:00:15 +08:00 |
|
手瓜一十雪
|
f854c258bd
|
fix: 清除旧的反向ws
|
2024-06-28 13:42:09 +08:00 |
|
手瓜一十雪
|
a643fac073
|
refactor: msg context
|
2024-06-28 13:38:03 +08:00 |
|
手瓜一十雪
|
861f105bea
|
fix: uid->uin 临时修复方案
uid uin转换需要优化
|
2024-06-28 13:11:06 +08:00 |
|
手瓜一十雪
|
bf10ce9f1e
|
fix: error
|
2024-06-26 18:40:08 +08:00 |
|
手瓜一十雪
|
ccf521d0a8
|
feat: win ia32支持
|
2024-06-26 18:13:55 +08:00 |
|
手瓜一十雪
|
6075d98eaa
|
release: v1.6.2
|
2024-06-26 18:09:41 +08:00 |
|
手瓜一十雪
|
a3801fc243
|
fix: script
|
2024-06-26 17:17:33 +08:00 |
|
手瓜一十雪
|
a1f0c05f3a
|
chore: build script
|
2024-06-26 17:16:54 +08:00 |
|
手瓜一十雪
|
a568c96929
|
chore: build script
|
2024-06-26 17:15:46 +08:00 |
|
手瓜一十雪
|
d58bcf3c0e
|
refactor: error catch
|
2024-06-26 17:14:23 +08:00 |
|
手瓜一十雪
|
985f2e6436
|
fix: 还原修改
|
2024-06-25 17:24:42 +08:00 |
|
手瓜一十雪
|
ad441fa793
|
docs: update
|
2024-06-24 21:38:28 +08:00 |
|
手瓜一十雪
|
316300cc86
|
Merge pull request #86 from NapNeko/dependabot/npm_and_yarn/types/uuid-10.0.0
build(deps-dev): bump @types/uuid from 9.0.8 to 10.0.0
|
2024-06-24 17:44:25 +08:00 |
|
dependabot[bot]
|
5c4f37b234
|
build(deps-dev): bump @types/uuid from 9.0.8 to 10.0.0
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 9.0.8 to 10.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)
---
updated-dependencies:
- dependency-name: "@types/uuid"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-06-24 08:14:47 +00:00 |
|
手瓜一十雪
|
77b51a072d
|
fix: 增加容错
|
2024-06-24 12:03:49 +08:00 |
|