Skip to content

Commit 2bace00

Browse files
committed
remove log statement
1 parent ff10bb5 commit 2bace00

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/timeout.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ export class Timeout extends Promise<never> {
118118
* Implement maxTimeMS calculation detailed in https://github.com/mongodb/specifications/blob/master/source/client-side-operations-timeout/client-side-operations-timeout.md#command-execution
119119
* */
120120
public getMaxTimeMS(minRoundTripTime: number): any {
121-
console.log(`remaining time: ${this.remainingTime}, minRTT: ${minRoundTripTime}`);
122121
if (!Number.isFinite(this.remainingTime)) return 0;
123122
if (minRoundTripTime < this.remainingTime) return this.remainingTime - minRoundTripTime;
124123
throw CSOTError.from(this.timeoutError);

0 commit comments

Comments
 (0)