mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
If statements need elses.
This commit is contained in:
+2
-1
@@ -250,8 +250,9 @@ function updatePoolStats(poolType) {
|
||||
let cache;
|
||||
if (typeof(poolType) !== 'undefined') {
|
||||
cache = global.database.getCache(poolType + "_stats");
|
||||
} else {
|
||||
cache = global.database.getCache("global_stats");
|
||||
}
|
||||
cache = global.database.getCache("global_stats");
|
||||
async.series([
|
||||
function (callback) {
|
||||
debug(threadName + "Checking Influx for last 10min avg for pool stats");
|
||||
|
||||
Reference in New Issue
Block a user