Skip to content

Commit

Permalink
Don't redial on tor initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
islathehut committed May 7, 2024
1 parent c65383e commit 14610eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/backend/src/nest/tor/tor.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ export class Tor extends EventEmitter implements OnModuleInit {
if (bootstrapDone) {
this.logger(`Sending ${SocketActionTypes.TOR_INITIALIZED}`)
this.serverIoProvider.io.emit(SocketActionTypes.TOR_INITIALIZED)
this.logger('Attempting to redial peers (if possible)')
this.emit(SocketActionTypes.REDIAL_PEERS)
// TODO: Figure out how to get redialing (or, ideally, initial dialing) on tor initialization working
// this.logger('Attempting to redial peers (if possible)')
// this.emit(SocketActionTypes.REDIAL_PEERS)
clearInterval(this.interval)
}
}, 2500)
Expand Down

0 comments on commit 14610eb

Please sign in to comment.