From 0dd80a1d289bd339e2471ca211e994f594aa39a4 Mon Sep 17 00:00:00 2001 From: cruizba Date: Tue, 1 Apr 2025 18:59:17 +0200 Subject: [PATCH] Update CPU cost defaults in egress configuration files to prevent resource overuse --- community/egress.yaml | 20 ++++++++++---------- pro/egress.yaml | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/community/egress.yaml b/community/egress.yaml index 28c7d0b..e8fe819 100644 --- a/community/egress.yaml +++ b/community/egress.yaml @@ -25,14 +25,14 @@ storage: force_path_style: true # CPU cost for each type of Egress operation. -# Defaults are set for unlimited operations. -# Change these values according to your needs. +# These values are defaults to prevent any +# egress operation to exceed resources. cpu_cost: - max_cpu_utilization: 0.80 - room_composite_cpu_cost: 0.01 - audio_room_composite_cpu_cost: 0.01 - web_cpu_cost: 0.01 - audio_web_cpu_cost: 0.01 - participant_cpu_cost: 0.01 - track_composite_cpu_cost: 0.01 - track_cpu_cost: 0.01 + room_composite_cpu_cost: 4 + audio_room_composite_cpu_cost: 1 + web_cpu_cost: 4 + audio_web_cpu_cost: 1 + participant_cpu_cost: 2 + track_composite_cpu_cost: 1 + max_cpu_utilization: 0.8 + track_cpu_cost: 0.5 diff --git a/pro/egress.yaml b/pro/egress.yaml index 28c7d0b..e8fe819 100644 --- a/pro/egress.yaml +++ b/pro/egress.yaml @@ -25,14 +25,14 @@ storage: force_path_style: true # CPU cost for each type of Egress operation. -# Defaults are set for unlimited operations. -# Change these values according to your needs. +# These values are defaults to prevent any +# egress operation to exceed resources. cpu_cost: - max_cpu_utilization: 0.80 - room_composite_cpu_cost: 0.01 - audio_room_composite_cpu_cost: 0.01 - web_cpu_cost: 0.01 - audio_web_cpu_cost: 0.01 - participant_cpu_cost: 0.01 - track_composite_cpu_cost: 0.01 - track_cpu_cost: 0.01 + room_composite_cpu_cost: 4 + audio_room_composite_cpu_cost: 1 + web_cpu_cost: 4 + audio_web_cpu_cost: 1 + participant_cpu_cost: 2 + track_composite_cpu_cost: 1 + max_cpu_utilization: 0.8 + track_cpu_cost: 0.5