We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb8c4ae commit fa2a33fCopy full SHA for fa2a33f
src/StreamManager.ts
@@ -91,6 +91,10 @@ export class StreamManager extends Root {
91
.maxAckPending(setting?.maxPending || 10)
92
.deliverTo(createInbox());
93
94
+ if (setting?.maxAckWaiting) {
95
+ options.maxWaiting(setting.maxAckWaiting);
96
+ }
97
+
98
if (setting?.queue) {
99
options.queue(setting.queue);
100
}
src/interfaces.ts
@@ -84,6 +84,7 @@ export interface GetListenerOptions {
84
queue?: string;
85
deliver?: 'all' | 'new';
86
maxPending?: number;
87
+ maxAckWaiting?: number
88
89
90
export interface StreamManagerParam {
0 commit comments