Skip to content

Commit 43f0212

Browse files
committed
[FIX] direct get was not honoring user timeouts
Signed-off-by: Alberto Ricart <[email protected]>
1 parent cb23f5f commit 43f0212

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jetstream/jsm.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export class DirectStreamAPIImpl extends BaseApiClient
7777
const r = await this.nc.request(
7878
subj,
7979
payload,
80+
{ timeout: this.timeout },
8081
);
8182

8283
// response is not a JS.API response

0 commit comments

Comments
 (0)