diff options
| author | anatawa12 <anatawa12@icloud.com> | 2023-12-02 18:25:07 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-02 18:25:07 +0900 |
| commit | a631b976c99a4b3977079a4bafc8a7b7de0bf269 (patch) | |
| tree | 2de46905d201657061e6deaf3db1fdd2d44b0a3c /packages/frontend/src | |
| parent | fix(frontend): MFM ruby nyaize (#12362) (diff) | |
| download | sharkey-a631b976c99a4b3977079a4bafc8a7b7de0bf269.tar.gz sharkey-a631b976c99a4b3977079a4bafc8a7b7de0bf269.tar.bz2 sharkey-a631b976c99a4b3977079a4bafc8a7b7de0bf269.zip | |
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>
Diffstat (limited to 'packages/frontend/src')
| -rw-r--r-- | packages/frontend/src/components/MkPagination.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/frontend/src/components/MkPagination.vue b/packages/frontend/src/components/MkPagination.vue index 2c59e6d4e8..57348cde53 100644 --- a/packages/frontend/src/components/MkPagination.vue +++ b/packages/frontend/src/components/MkPagination.vue @@ -206,6 +206,7 @@ async function init(): Promise<void> { await os.api(props.pagination.endpoint, { ...params, limit: props.pagination.limit ?? 10, + allowPartial: true, }).then(res => { for (let i = 0; i < res.length; i++) { const item = res[i]; |