mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-18 19:23:40 +00:00
Fix signin
This commit is contained in:
parent
35a9274be6
commit
0f9db6c5fb
@ -155,7 +155,7 @@ export const sampleRelays = (relays, scale = 1) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Remove relays that are currently in an error state
|
// Remove relays that are currently in an error state
|
||||||
relays = relays.filter(r => pool.getConnection(r.url)?.hasRecentError())
|
relays = relays.filter(r => !pool.getConnection(r.url)?.hasRecentError())
|
||||||
|
|
||||||
// Limit target relays
|
// Limit target relays
|
||||||
relays = relays.slice(0, limit)
|
relays = relays.slice(0, limit)
|
||||||
|
Loading…
Reference in New Issue
Block a user