Skip to content

Commit

Permalink
Adjusted max idle time of jdbc driver to try to prevent overnight han…
Browse files Browse the repository at this point in the history
…gings in the production systems. Reduced minpoolsize to 0.
  • Loading branch information
silvae86 committed Nov 17, 2017
1 parent 975fc43 commit c8795bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kb/db.js
Expand Up @@ -645,9 +645,9 @@ DbConnection.prototype.create = function (callback)
// Required
url: "jdbc:virtuoso://" + self.host + ":" + self.port_isql + "/UID=" + self.username + "/PWD=" + self.password + "/PWDTYPE=cleartext" + "/CHARSET=UTF-8",
drivername: "virtuoso.jdbc4.Driver",
minpoolsize: 1,
minpoolsize: 0,
maxpoolsize: self.maxSimultaneousConnections,

maxidle: 10000,
properties: {}
};

Expand Down

0 comments on commit c8795bb

Please sign in to comment.