Skip to content

Conversation

bogdanbrudiu
Copy link

…value

Description

Brief description of the changes made in the PR. This helps in making better changelog
operationTimeoutInSeconds - CreatedRheaConnectionOptions is not taken into consideration and the default 60 is used

rhea-promise/lib/connection.ts line 256
this.options.operationTimeoutInSeconds = options?.operationTimeoutInSeconds ?? defaultOperationTimeoutInSeconds;

Reference to any github issues

@jeremymeng
Copy link
Collaborator

@bogdanbrudiu thanks for the PR. could you add a unit case that covers issue?


this.options = this._connection.options;
this.options.operationTimeoutInSeconds = options?.operationTimeoutInSeconds ?? defaultOperationTimeoutInSeconds;
this.options.operationTimeoutInSeconds = this.options?.operationTimeoutInSeconds ?? defaultOperationTimeoutInSeconds;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure which one we should take when both this._connection.options.operationTimeoutInSeconds and options.operationTimeoutInSeconds are valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants