mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat(compute-pressure) monitor cpu pressure (#13645)
This commit is contained in:
@@ -2059,6 +2059,19 @@ class API {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Notify the external application (if API is enabled) when the compute pressure changed.
|
||||
*
|
||||
* @param {Array} records - The new pressure records.
|
||||
* @returns {void}
|
||||
*/
|
||||
notifyComputePressureChanged(records) {
|
||||
this._sendEvent({
|
||||
name: 'compute-pressure-changed',
|
||||
records
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Disposes the allocated resources.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user