v1.4.15
fabric-sdk-node 1.4.15 is a maintenance release containing bug fixes and documentation improvements.
The default query timeout may be changed along with the query strategy.
The timeout value is in seconds.
To specify:
const { Gateway, DefaultQueryHandlerStrategies } = require('fabric-network');
const connectOptions = {queryHandlerOptions: {timeout: 60, strategy: DefaultQueryHandlerStrategies.MSPID_SCOPE_SINGLE}};
const gateway = new Gateway();
await gateway.connect(connectionProfile, connectOptions);