Skip to content

Commit 7683fc9

Browse files
committed
docs: connection churn
1 parent 017c77e commit 7683fc9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/mongo_types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,11 @@ export type Abortable = {
481481
*
482482
* The `signal.reason` value is used as the error thrown.
483483
*
484+
* @remarks
485+
* **NOTE:** Currently, aborting an in-progress operation causes the in-use Connection to close.
486+
* If signals are aborted at a high rate it will cause many connections that are otherwise healthy
487+
* to be discarded. We plan to mitigate this in a future release, please follow NODE-6062.
488+
*
484489
* @example
485490
* ```js
486491
* const controller = new AbortController();

0 commit comments

Comments
 (0)