mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-11 07:12:36 +00:00
Merge pull request #2480 from PR0M3TH3AN/agents/weekly/perf-optimization-agent-10671579183068500522
perf: throttle reaction event publishing
This commit is contained in:
2 files changed
+49
No files matched your search
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user