chore, perf: Reduce redis memory (#7816)

* Reduce redis memory

* CHANGELOG

* a
This commit is contained in:
MeiMei 2021-09-20 21:55:19 +09:00 committed by GitHub
parent ef3b823c11
commit ad9c2e09e5
2 changed files with 4 additions and 1 deletions

View File

@ -8,6 +8,7 @@
-->
## 12.x.x (unreleased)
- ActivityPub: deliverキューのメモリ使用量を削減
### Improvements
- ActivityPub: リモートユーザーのDeleteアクティビティに対応

View File

@ -64,7 +64,9 @@ export function deliver(user: ThinUser, content: unknown, to: string | null) {
if (to == null) return null;
const data = {
user,
user: {
id: user.id
},
content,
to
};