@dbcube/core 4.1.10 → 4.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1198,16 +1198,7 @@ var QueryEngine = class {
1198
1198
  });
1199
1199
  }
1200
1200
  async sendTcpRequestFast(args) {
1201
- const existingConnection = globalTcpConnections.get(this.connectionId);
1202
- if (existingConnection && existingConnection.readyState === "open") {
1203
- try {
1204
- return await this.sendOnExistingConnection(existingConnection, args);
1205
- } catch (error) {
1206
- globalTcpConnections.delete(this.connectionId);
1207
- existingConnection.destroy();
1208
- }
1209
- }
1210
- return await this.createPersistentConnection(args);
1201
+ return await this.sendTcpRequest(args);
1211
1202
  }
1212
1203
  async sendOnExistingConnection(connection, args) {
1213
1204
  return new Promise((resolve5, reject) => {