jeefo-mysql
Advanced tools
Comparing version 0.0.36 to 0.0.37
@@ -162,2 +162,3 @@ /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. | ||
exec(query, values = []) { | ||
clearTimeout(this.timeout_id); | ||
return new Promise(async (resolve, reject) => { | ||
@@ -171,4 +172,3 @@ if (!this.is_connected) await this.connect(); | ||
resolve({results, fields}); | ||
clearTimeout(this.timeout_id); | ||
this.timeout_id = setTimeout(() => this.end(), 10000); | ||
this.timeout_id = setTimeout(() => this.destroy(), 10000); | ||
}); | ||
@@ -175,0 +175,0 @@ }); |
{ | ||
"name": "jeefo-mysql", | ||
"version": "0.0.36", | ||
"version": "0.0.37", | ||
"description": "Very simple MySQL connection instances for each table. I had annoyed enough for MySQL Deadlocks.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16348