puyoskey/packages/backend/src/server/api/endpoints/channels
anatawa12 a631b976c9
Refine fanout timeline (#12507)
* chore(endpoints/hybrid-timeline): don't pack inside getFromDb

* chore(endpoints/hybrid-timeline): Redisから取得する部分のうちSTLに依存しなそうなところを別のServiceに切り出し

* chore(endpoints/local-timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/channels/timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/user-list-timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/users/notes): FanoutTimelineEndpointServiceで再実装

* chore: add useDbFallback to FanoutTimelineEndpointService.timeline and always true for channel / user note list

* style: fix lint error

* chore: split logic to multiple functions

* chore: implement redis fallback

* chore: 成功率を上げる

* fix: db fallback not working

* feat: allowPartial

* chore(frontend): set allowPartial

* chore(backend): remove fallbackIfEmpty

HTL will never be purged so it's no longer required

* fix: missing allowPartial in channel timeline

* fix: type of timelineConfig in hybrid-timeline

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 18:25:07 +09:00
..
create.ts feat: チャンネル内→チャンネル外へのリノート制限機能追加 (#12230) 2023-11-03 17:34:23 +09:00
favorite.ts perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように 2023-10-16 10:45:22 +09:00
featured.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
follow.ts Fix: チャンネルのフォロー・アンフォローの反映速度を改善 (#12149) 2023-10-27 18:34:02 +09:00
followed.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
my-favorites.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
owned.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
search.ts lint fixes 2023-10-09 13:32:41 +09:00
show.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
timeline.ts Refine fanout timeline (#12507) 2023-12-02 18:25:07 +09:00
unfavorite.ts update deps (#11820) 2023-09-15 14:28:29 +09:00
unfollow.ts Fix: チャンネルのフォロー・アンフォローの反映速度を改善 (#12149) 2023-10-27 18:34:02 +09:00
update.ts feat: チャンネル内→チャンネル外へのリノート制限機能追加 (#12230) 2023-11-03 17:34:23 +09:00