limits
This commit is contained in:
parent
67d080fecc
commit
327495c9f0
|
@ -94,7 +94,8 @@ if (props.src === 'antenna') {
|
||||||
query = {
|
query = {
|
||||||
origin: 'combined',
|
origin: 'combined',
|
||||||
offsetMode: true,
|
offsetMode: true,
|
||||||
days: 30,
|
days: 10,
|
||||||
|
limit: 20,
|
||||||
}
|
}
|
||||||
connection = stream.useChannel('main');
|
connection = stream.useChannel('main');
|
||||||
connection.on('note', prepend);
|
connection.on('note', prepend);
|
||||||
|
|
|
@ -16,11 +16,11 @@ import { i18n } from '@/i18n';
|
||||||
|
|
||||||
const paginationForLocal = {
|
const paginationForLocal = {
|
||||||
endpoint: 'notes/featured' as const,
|
endpoint: 'notes/featured' as const,
|
||||||
limit: 10,
|
limit: 20,
|
||||||
origin: 'local',
|
origin: 'local',
|
||||||
offsetMode: true,
|
offsetMode: true,
|
||||||
params: {
|
params: {
|
||||||
days: 14,
|
days: 5,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ const paginationForRemote = {
|
||||||
offsetMode: true,
|
offsetMode: true,
|
||||||
params: {
|
params: {
|
||||||
origin: 'remote',
|
origin: 'remote',
|
||||||
days: 7,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue