Skip to content

Commit

Permalink
Update connection.ts - operationTimeoutInSeconds is reset to default …
Browse files Browse the repository at this point in the history
…value
  • Loading branch information
bogdanbrudiu authored Apr 30, 2024
1 parent e37362a commit 5db3edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export class Connection extends Entity {
}

this.options = this._connection.options;
this.options.operationTimeoutInSeconds = options?.operationTimeoutInSeconds ?? defaultOperationTimeoutInSeconds;
this.options.operationTimeoutInSeconds = this.options?.operationTimeoutInSeconds ?? defaultOperationTimeoutInSeconds;

this._initializeEventListeners();
}
Expand Down

0 comments on commit 5db3edd

Please sign in to comment.