...
|
...
|
@@ -24,7 +24,7 @@ const server = { |
|
|
|
|
|
switch (m.measurement) {
|
|
|
case 'web-server-duration': {
|
|
|
// handleWebServerDuration(m);
|
|
|
handleWebServerDuration(m);
|
|
|
|
|
|
if (m.tags.type === 'route') {
|
|
|
await handleRisk(m);
|
...
|
...
|
@@ -45,7 +45,7 @@ const server = { |
|
|
}
|
|
|
}
|
|
|
|
|
|
// logger.debug('[server] handle OK [%j]', data);
|
|
|
logger.debug('[server] handle OK [%j]', data);
|
|
|
}, {concurrency: 2});
|
|
|
} catch (e) {
|
|
|
logger.error('[server] handle ERROR [%s]', e);
|
...
|
...
|
|