Skip to content

Commit

Permalink
Merge pull request #1091 from planetary-social/explore-viability-skip
Browse files Browse the repository at this point in the history
Skip viabilityChanged
  • Loading branch information
dcadenas authored May 10, 2024
2 parents 5a499cd + 9cb49c2 commit e0e337e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Nos/Service/Relay/RelayService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -744,8 +744,6 @@ extension RelayService: WebSocketDelegate {
switch event {
case .connected:
await handleConnection(from: client)
case .viabilityChanged(let isViable) where isViable:
await handleConnection(from: client)
case .disconnected(let reason, let code):
await subscriptions.remove(socket)
print("websocket is disconnected: \(reason) with code: \(code)")
Expand Down

0 comments on commit e0e337e

Please sign in to comment.