Skip to content
Permalink
Browse files
[misc] removing zip benchmark on travis, since doesn't really have me…
…aning, mysql comparison doesn't have compress option
  • Loading branch information
rusher committed Jul 17, 2018
1 parent 924f958 commit 0f2fe47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
@@ -53,8 +53,6 @@ matrix:
env: DB=mariadb:10.2 LINT=1
- node_js: "node"
env: DB=mariadb:10.2 BENCH=1
- node_js: "node"
env: DB=mariadb:10.2 BENCH=1 TEST_ZIP=1
- node_js: "node"
env: DB=mariadb:5.5
- node_js: "node"
@@ -321,6 +321,8 @@ The pool reuses connection intensively, so this validation is done only if a con
If no connection is available, the request for a connection will be put in a queue until connection timeout.
When a connection is available (new creation or released to the pool), it will be use to satisfy queued requests in FIFO order.

When a connection is given back to pool, any remaining transaction will be rollback.

#### `pool.getConnection() → Promise`

>
@@ -197,7 +197,7 @@ function Bench() {

// called between running benchmarks
onCycle: function(event) {
pingAll(connList);
// pingAll(connList);
//to avoid mysql2 taking all the server memory
if (promiseMysql2 && promiseMysql2.clearParserCache) promiseMysql2.clearParserCache();
if (mysql2 && mysql2.clearParserCache) mysql2.clearParserCache();

0 comments on commit 0f2fe47

Please sign in to comment.