Skip to content

Commit

Permalink
Update SystemInformation interface to include cpuUsed and refine heap…
Browse files Browse the repository at this point in the history
… properties
  • Loading branch information
Luligu committed Feb 9, 2025
1 parent f82f01d commit 25dc42d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/matterbridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ export class Matterbridge extends EventEmitter {
totalMemory: '',
freeMemory: '',
systemUptime: '',
cpuUsed: '',
rss: '',
heap: '',
heapTotal: '',
heapUsed: '',
};

public matterbridgeInformation: MatterbridgeInformation = {
Expand Down
4 changes: 3 additions & 1 deletion src/matterbridgeTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@ export interface SystemInformation {
totalMemory: string;
freeMemory: string;
systemUptime: string;
cpuUsed: string;
rss: string;
heap: string;
heapTotal: string;
heapUsed: string;
}

// Define an interface for storing the matterbridge information
Expand Down

0 comments on commit 25dc42d

Please sign in to comment.