Fix pool property fetching

This commit is contained in:
Tomasz Rybarczyk 2020-11-09 17:18:21 +01:00
parent 5ed0bb7391
commit eab7041bca

View File

@ -11,18 +11,18 @@ exports.ffiNew = function(config) {
exports.totalCount = function(pool) {
return function() {
return pool.totalCount();
return pool.totalCount;
};
};
exports.idleCount = function(pool) {
return function() {
return pool.idleCount();
return pool.idleCount;
};
};
exports.waitingCount = function(pool) {
return function() {
return pool.waitingCount();
return pool.waitingCount;
};
};