perf: ⚡ featured posts query limit
This commit is contained in:
parent
59a625469f
commit
0d72fc19b0
1 changed files with 4 additions and 4 deletions
|
@ -19,21 +19,21 @@ import { i18n } from "@/i18n";
|
|||
|
||||
const paginationForLocal = {
|
||||
endpoint: "notes/featured" as const,
|
||||
limit: 10,
|
||||
limit: 15,
|
||||
origin: "local",
|
||||
offsetMode: true,
|
||||
params: {
|
||||
days: 14,
|
||||
days: 5,
|
||||
},
|
||||
};
|
||||
|
||||
const paginationForRemote = {
|
||||
endpoint: "notes/featured" as const,
|
||||
limit: 20,
|
||||
limit: 15,
|
||||
offsetMode: true,
|
||||
params: {
|
||||
origin: "remote",
|
||||
days: 7,
|
||||
days: 5,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue