Bad variable name

remotes/origin/batch-configurable-max-payload-size
Daniel García Aubert 6 years ago
parent a1b7a07c8e
commit 71bc3da115

@ -204,8 +204,8 @@ if (global.gc && isGteMinVersion(process.version, 6)) {
const gcStats = require('gc-stats')();
gcStats.on('stats', function ({ pauseMS, gctype }) {
global.statsClient.timing('sqlapi.gc', pauseMS);
global.statsClient.timing(`sqlapi.gctype.${getGCTypeValue(gctype)}`, pauseMS);
statsClient.timing('sqlapi.gc', pauseMS);
statsClient.timing(`sqlapi.gctype.${getGCTypeValue(gctype)}`, pauseMS);
});
function getGCTypeValue (type) {

Loading…
Cancel
Save