Skip to content
New issue

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

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

Already on GitHub? # to your account

全sharedInbox配信の最適化 #2527

Merged
merged 3 commits into from
Apr 6, 2024
Merged

Conversation

mei23
Copy link
Owner

@mei23 mei23 commented Apr 5, 2024

Summary

mei23/misskey#4933
MisskeyIO/misskey#598

クエリのdistinct coalesceの部分はioの
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

クエリで絞った段階で大した量じゃなくなるから、offsetまではいらないかなと。
(これでかかるならもっとかかりそうなところがあるし)
これかなりページングしづらいデータだし、TypeORM stream出来るっぽいのでstreamにした。
いらないと思うけど作ったので…

pg-query-stream忘れないように

src/services/unsuspend-user.ts Outdated Show resolved Hide resolved
@mei23 mei23 marked this pull request as ready for review April 5, 2024 11:48
@mei23 mei23 merged commit 8a854f7 into mei-v11 Apr 6, 2024
3 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant