Skip to content

Commit

Permalink
Merge pull request #742 from nats-io/direct-get-timeout
Browse files Browse the repository at this point in the history
[FIX] direct get was not honoring user timeouts
  • Loading branch information
aricart authored Jan 10, 2025
2 parents cb23f5f + 43f0212 commit b66df01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jetstream/jsm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export class DirectStreamAPIImpl extends BaseApiClient
const r = await this.nc.request(
subj,
payload,
{ timeout: this.timeout },
);

// response is not a JS.API response
Expand Down

0 comments on commit b66df01

Please sign in to comment.