fix: 🐛

This commit is contained in:
codytseng
2025-03-23 00:42:34 +08:00
parent 552089b15c
commit e4b7722c50

View File

@@ -32,11 +32,8 @@ class RelayInfoService {
.toLocaleLowerCase()
.split(/\s+/)
})
private fetchDataloader = new DataLoader<string, TNip66RelayInfo | undefined>(
(urls) => Promise.all(urls.map((url) => this._getRelayInfo(url))),
{
cache: false
}
private fetchDataloader = new DataLoader<string, TNip66RelayInfo | undefined>((urls) =>
Promise.all(urls.map((url) => this._getRelayInfo(url)))
)
private relayUrlsForRandom: string[] = []