fix: reduce note limit for non-algo relays to improve performance
This commit is contained in:
parent
f91a6545a1
commit
ccd79da171
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ export default function NoteList({
|
||||||
const noteFilter = useMemo(() => {
|
const noteFilter = useMemo(() => {
|
||||||
return {
|
return {
|
||||||
kinds: [kinds.ShortTextNote, kinds.Repost],
|
kinds: [kinds.ShortTextNote, kinds.Repost],
|
||||||
limit: areAlgoRelays ? 500 : 200,
|
limit: areAlgoRelays ? 500 : 50,
|
||||||
...filter
|
...filter
|
||||||
}
|
}
|
||||||
}, [JSON.stringify(filter), areAlgoRelays])
|
}, [JSON.stringify(filter), areAlgoRelays])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue