Merge pull request #2480 from PR0M3TH3AN/agents/weekly/perf-optimization-agent-10671579183068500522

perf: throttle reaction event publishing
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-13 17:22:14 -05:00
commit f3872a2b60
2 files changed
+49

No files matched your search

+2
View File
@@ -1,6 +1,8 @@
import { buildReactionEvent, sanitizeAdditionalTags } from "../nostrEventSchemas.js";
import { publishEventToRelay } from "../nostrPublish.js";
import { RELAY_URLS } from "./toolkit.js";
import { pMap } from "../utils/asyncUtils.js";
import { RELAY_BACKGROUND_CONCURRENCY } from "./relayConstants.js";
import { normalizePointerInput } from "./watchHistory.js";
import { devLogger, userLogger } from "../utils/logger.js";
import { LRUCache } from "../utils/lruCache.js";