generated from tpl/purs
Fix pool property fetching
This commit is contained in:
parent
5ed0bb7391
commit
eab7041bca
@ -11,18 +11,18 @@ exports.ffiNew = function(config) {
|
|||||||
|
|
||||||
exports.totalCount = function(pool) {
|
exports.totalCount = function(pool) {
|
||||||
return function() {
|
return function() {
|
||||||
return pool.totalCount();
|
return pool.totalCount;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.idleCount = function(pool) {
|
exports.idleCount = function(pool) {
|
||||||
return function() {
|
return function() {
|
||||||
return pool.idleCount();
|
return pool.idleCount;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.waitingCount = function(pool) {
|
exports.waitingCount = function(pool) {
|
||||||
return function() {
|
return function() {
|
||||||
return pool.waitingCount();
|
return pool.waitingCount;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user