Improve performance a bit

This commit is contained in:
Jon Staab
2024-12-09 14:03:59 -08:00
parent 880093296e
commit ea0e1a6c9a
4 changed files with 35 additions and 48 deletions
+3 -1
View File
@@ -46,7 +46,7 @@ import {
getDefaultNetContext,
makeRouter,
tracker,
trackerStore,
makeTrackerStore,
relay,
getSession,
getSigner,
@@ -224,6 +224,8 @@ export const pullConservatively = ({relays, filters}: AppSyncOpts) => {
return Promise.all(promises)
}
export const trackerStore = makeTrackerStore()
export const deriveEvent = (idOrAddress: string, hints: string[] = []) => {
let attempted = false