File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -314,8 +314,7 @@ function generateRandomNodeIdForBucket(
314314 * This is generally used to check the connection has failed
315315 * before cleaning it up.
316316 */
317- // FIXME: need to include ErrorQUICConnectionIdleTimeout error in this list.
318- function isConnectionError ( e ) : boolean {
317+ function isConnectionError ( e : unknown ) : boolean {
319318 return (
320319 e instanceof nodesErrors . ErrorNodeConnectionDestroyed ||
321320 e instanceof nodesErrors . ErrorNodeManagerConnectionFailed ||
@@ -325,7 +324,8 @@ function isConnectionError(e): boolean {
325324 e instanceof quicErrors . ErrorQUICConnectionLocal ||
326325 e instanceof quicErrors . ErrorQUICConnectionNotRunning ||
327326 e instanceof quicErrors . ErrorQUICConnectionStopping ||
328- e instanceof quicErrors . ErrorQUICConnectionIdleTimeout
327+ e instanceof quicErrors . ErrorQUICConnectionIdleTimeout ||
328+ e instanceof quicErrors . ErrorQUICStreamLimit
329329 ) ;
330330}
331331
You can’t perform that action at this time.
0 commit comments