@dbcube/core 4.1.11 → 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 +1 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1151,16 +1151,7 @@ var QueryEngine = class {
|
|
|
1151
1151
|
});
|
|
1152
1152
|
}
|
|
1153
1153
|
async sendTcpRequestFast(args) {
|
|
1154
|
-
|
|
1155
|
-
if (existingConnection && existingConnection.readyState === "open") {
|
|
1156
|
-
try {
|
|
1157
|
-
return await this.sendOnExistingConnection(existingConnection, args);
|
|
1158
|
-
} catch (error) {
|
|
1159
|
-
globalTcpConnections.delete(this.connectionId);
|
|
1160
|
-
existingConnection.destroy();
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
return await this.createPersistentConnection(args);
|
|
1154
|
+
return await this.sendTcpRequest(args);
|
|
1164
1155
|
}
|
|
1165
1156
|
async sendOnExistingConnection(connection, args) {
|
|
1166
1157
|
return new Promise((resolve5, reject) => {
|