amqp / rhea-promise

A promisified layer over rhea AMQP client
Apache License 2.0
30 stars 19 forks source link

Update connection.ts - operationTimeoutInSeconds is reset to default #112

Open bogdanbrudiu opened 7 months ago

bogdanbrudiu commented 7 months ago

…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 commented 7 months ago

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