forked from mirror/misskey
change: 埋め込みの読み込み数を減らした
This commit is contained in:
parent
9fcff7f4c0
commit
2afde85581
@ -41,7 +41,7 @@ import { onScrollTop, isTopVisible, getBodyScrollHeight, getScrollContainer, onS
|
||||
import { misskeyApi } from '@/misskey-api.js';
|
||||
import { i18n } from '@/i18n.js';
|
||||
|
||||
const SECOND_FETCH_LIMIT = 30;
|
||||
const SECOND_FETCH_LIMIT = 10;
|
||||
const TOLERANCE = 16;
|
||||
const APPEAR_MINIMUM_INTERVAL = 600;
|
||||
|
||||
@ -198,7 +198,7 @@ async function init(): Promise<void> {
|
||||
const params = props.pagination.params ? isRef(props.pagination.params) ? props.pagination.params.value : props.pagination.params : {};
|
||||
await misskeyApi<MisskeyEntity[]>(props.pagination.endpoint, {
|
||||
...params,
|
||||
limit: props.pagination.limit ?? 10,
|
||||
limit: props.pagination.limit ?? 5,
|
||||
allowPartial: true,
|
||||
}).then(res => {
|
||||
for (let i = 0; i < res.length; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user