fix
Some checks failed
Docker image / build-and-push-image (push) Has been cancelled

This commit is contained in:
Your Name 2024-12-03 21:35:16 -07:00
parent 9e77fcfa62
commit 9e970939dd
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ export default class AccountNotifications {
}
}
throttleUpdateTimeline = _throttle(this.updateTimeline.bind(this), 0);
throttleUpdateTimeline = _throttle(this.updateTimeline.bind(this), 20);
updateTimeline() {
const muteList = replaceableEventsService.getEvent(MUTE_LIST_KIND, this.pubkey).value;
const mutedPubkeys = muteList ? getPubkeysFromList(muteList).map((p) => p.pubkey) : [];

View File

@ -67,7 +67,7 @@ export default class TimelineLoader {
processManager.registerProcess(this.process);
}
private throttleUpdateTimeline = _throttle(this.updateTimeline, 1);
private throttleUpdateTimeline = _throttle(this.updateTimeline, 20);
private updateTimeline() {
if (this.eventFilter) {
const filter = this.eventFilter;