]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix lint
authorChocobozzz <me@florianbigard.com>
Tue, 19 Jul 2022 13:34:44 +0000 (15:34 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 19 Jul 2022 13:34:44 +0000 (15:34 +0200)
server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts

index c51a50ebb959f525d97d49c2dda6a5c212707071..766cbe03be0b03b5bda73eda9db0a0ea1d061cac 100644 (file)
@@ -159,7 +159,7 @@ export class NodeJSObserversBuilder {
 
     this.meter.createObservableGauge('nodejs_active_requests_total', {
       description: 'Total number of active libuv requests.'
-    }).addCallback(async observableResult => {
+    }).addCallback(observableResult => {
       const requests = (process as any)._getActiveRequests()
 
       observableResult.observe(requests.length)