Skip to content

Commit

Permalink
fix: 缩短合并转发缓存时间
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Sep 17, 2024
1 parent b39490c commit 5a20205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/api/q2tgServlet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let app = new Elysia()

setTimeout(() => {
forwardCache.delete(uuid);
}, 1000 * 60 * 15);
}, 1000 * 60);
}
return forwardCache.get(uuid);
}, {
Expand Down
1 change: 1 addition & 0 deletions main/src/client/OicqClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ export default class OicqClient extends QQClient {
const rKey = await this.getNTPicRKey();
if (!rKey) {
this.log.warn('未获取到 QQNT Rkey,无法刷新图片 rkey');
return;
}
for (const message of messages) {
for (const element of message.message) {
Expand Down

0 comments on commit 5a20205

Please sign in to comment.