@naturalcycles/backend-lib 9.49.1 → 9.49.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48,7 +48,7 @@ export class EventLoopMonitor {
48
48
  const deltaElu = performance.eventLoopUtilization(this.lastElu, currentElu);
49
49
  this.lastElu = currentElu;
50
50
  const elu = Math.round(deltaElu.utilization * 100);
51
- const gcCPU = Math.round(gcTotalTime / measureInterval);
51
+ const gcCPU = Math.round((gcTotalTime / measureInterval) * 10_000);
52
52
  this.lastStats = {
53
53
  p50,
54
54
  p90,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/backend-lib",
3
3
  "type": "module",
4
- "version": "9.49.1",
4
+ "version": "9.49.2",
5
5
  "peerDependencies": {
6
6
  "@sentry/node": "^10"
7
7
  },
@@ -64,7 +64,7 @@ export class EventLoopMonitor {
64
64
  this.lastElu = currentElu
65
65
 
66
66
  const elu = Math.round(deltaElu.utilization * 100)
67
- const gcCPU = Math.round(gcTotalTime / measureInterval)
67
+ const gcCPU = Math.round((gcTotalTime / measureInterval) * 10_000)
68
68
 
69
69
  this.lastStats = {
70
70
  p50,