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 @@ -96,7 +96,7 @@ interface Flags {
9696 compress ?: boolean ;
9797 volatile ?: boolean ;
9898 timeout ?: number ;
99- withRetry ?: boolean ;
99+ fromQueue ?: boolean ;
100100}
101101
102102export type DisconnectDescription =
@@ -381,7 +381,7 @@ export class Socket<
381381
382382 args . unshift ( ev ) ;
383383
384- if ( this . _opts . retries && ! this . flags . withRetry && ! this . flags . volatile ) {
384+ if ( this . _opts . retries && ! this . flags . fromQueue && ! this . flags . volatile ) {
385385 let ack ;
386386 if ( typeof args [ args . length - 1 ] === "function" ) {
387387 ack = args . pop ( ) ;
@@ -392,7 +392,7 @@ export class Socket<
392392 pending : false ,
393393 args,
394394 ack,
395- flags : Object . assign ( { withRetry : true } , this . flags ) ,
395+ flags : Object . assign ( { fromQueue : true } , this . flags ) ,
396396 } ) ;
397397 this . _drainQueue ( ) ;
398398 return this ;
You can’t perform that action at this time.
0 commit comments