fix: 🐛
This commit is contained in:
parent
552089b15c
commit
e4b7722c50
1 changed files with 2 additions and 5 deletions
|
|
@ -32,11 +32,8 @@ class RelayInfoService {
|
||||||
.toLocaleLowerCase()
|
.toLocaleLowerCase()
|
||||||
.split(/\s+/)
|
.split(/\s+/)
|
||||||
})
|
})
|
||||||
private fetchDataloader = new DataLoader<string, TNip66RelayInfo | undefined>(
|
private fetchDataloader = new DataLoader<string, TNip66RelayInfo | undefined>((urls) =>
|
||||||
(urls) => Promise.all(urls.map((url) => this._getRelayInfo(url))),
|
Promise.all(urls.map((url) => this._getRelayInfo(url)))
|
||||||
{
|
|
||||||
cache: false
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
private relayUrlsForRandom: string[] = []
|
private relayUrlsForRandom: string[] = []
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue