Commit ce0f5a53d1debd56a2de518dc95503b467b1469f
1 parent
a7065bdb7a
Exists in
master
0 not null
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
lib/webservice/router/priceplan.js
... | ... | @@ -152,11 +152,11 @@ async function pageShouldBe(req, res) { |
152 | 152 | newPriceplan: data && data.priceplanName, |
153 | 153 | dbPoolStatus: { |
154 | 154 | // eslint-disable-next-line no-underscore-dangle,max-len |
155 | - all: (dbKomodo.pool && dbKomodo.pool._allConnections && dbKomodo.pool._allConnections.length) || null, | |
155 | + all: (dbKomodo.pool && dbKomodo.pool._allConnections && dbKomodo.pool._allConnections.length) || 0, | |
156 | 156 | // eslint-disable-next-line no-underscore-dangle,max-len |
157 | - free: (dbKomodo.pool && dbKomodo.pool._freeConnections && dbKomodo.pool._freeConnections.length) || null, | |
157 | + free: (dbKomodo.pool && dbKomodo.pool._freeConnections && dbKomodo.pool._freeConnections.length) || 0, | |
158 | 158 | // eslint-disable-next-line no-underscore-dangle,max-len |
159 | - queue: (dbKomodo.pool && dbKomodo.pool._connectionQueue && dbKomodo.pool._connectionQueue.length) || null, | |
159 | + queue: (dbKomodo.pool && dbKomodo.pool._connectionQueue && dbKomodo.pool._connectionQueue.length) || 0, | |
160 | 160 | }, |
161 | 161 | }); |
162 | 162 |