Hello people,
I’m using the 3.0.x version of Node.js SDK and till now haven’t found a way to set connectionTimeout (connectTimeput?). In the earlier version of the SDK it was properly documented but the current version of documentation has no reference of this.
I checked the constructor in the SDK code itself and found that these parameters can be sent to the cluster connection request.
Copied from couchnode > lib > cluster.js
this._connStr = connStr;
this._trustStorePath = options.trustStorePath;
this._kvTimeout = options.kvTimeout;
this._kvDurableTimeout = options.kvDurableTimeout;
this._viewTimeout = options.viewTimeout;
this._queryTimeout = options.queryTimeout;
this._analyticsTimeout = options.analyticsTimeout;
this._searchTimeout = options.searchTimeout;
this._managementTimeout = options.managementTimeout;
Please let me know what is the correct way or if possible direct me to some reference materials.
Thanks.