diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2021-09-20 21:55:19 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-20 21:55:19 +0900 |
| commit | 388de9dc96d0250a58cdcef85df9bcd437b5aa99 (patch) | |
| tree | 5f4f5fa1be6a6261058c3bec72acb5de3a8aa053 /src/queue/index.ts | |
| parent | test: improve e2e test (diff) | |
| download | sharkey-388de9dc96d0250a58cdcef85df9bcd437b5aa99.tar.gz sharkey-388de9dc96d0250a58cdcef85df9bcd437b5aa99.tar.bz2 sharkey-388de9dc96d0250a58cdcef85df9bcd437b5aa99.zip | |
chore, perf: Reduce redis memory (#7816)
* Reduce redis memory
* CHANGELOG
* a
Diffstat (limited to 'src/queue/index.ts')
| -rw-r--r-- | src/queue/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/queue/index.ts b/src/queue/index.ts index 4ca7998e61..ee34ed47e4 100644 --- a/src/queue/index.ts +++ b/src/queue/index.ts @@ -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 }; |