Skip to content

Commit f99a285

Browse files
committed
fix(NODE-4817): Add TODOS
1 parent b61d313 commit f99a285

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/sdam/srv_polling.ts

+5
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export class SrvPoller extends TypedEventEmitter<SrvPollerEvents> {
103103
}
104104
}
105105

106+
// TODO(NODE-4817): This method has been left to allow for refactoring with the new logger
106107
schedule(): void {
107108
if (this._timeout) {
108109
clearTimeout(this._timeout);
@@ -120,12 +121,16 @@ export class SrvPoller extends TypedEventEmitter<SrvPollerEvents> {
120121
this.emit(SrvPoller.SRV_RECORD_DISCOVERY, new SrvPollingEvent(srvRecords));
121122
}
122123

124+
// TODO(NODE-4817): This method has been left here to allow for refactoring with
125+
// the new logger
123126
// eslint-disable-next-line @typescript-eslint/no-unused-vars
124127
failure(_message: string, _obj?: NodeJS.ErrnoException): void {
125128
this.haMode = true;
126129
this.schedule();
127130
}
128131

132+
// TODO(NODE-4817): This method has been left here to allow for refactoring with
133+
// the new logger
129134
// eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars
130135
parentDomainMismatch(_srvRecord: dns.SrvRecord): void {}
131136

0 commit comments

Comments
 (0)