From 14610ebac6c2b84d1dd98ca34ddb30bce512b5d8 Mon Sep 17 00:00:00 2001 From: Isla Koenigsknecht Date: Tue, 7 May 2024 10:10:56 -0400 Subject: [PATCH] Don't redial on tor initialization --- packages/backend/src/nest/tor/tor.service.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/nest/tor/tor.service.ts b/packages/backend/src/nest/tor/tor.service.ts index 3910361abf..6b739f0572 100644 --- a/packages/backend/src/nest/tor/tor.service.ts +++ b/packages/backend/src/nest/tor/tor.service.ts @@ -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)