From 5b94728bc9a06b19c1bc0cd9e0dbc6176bf2d7d1 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Tue, 11 Nov 2025 19:53:00 +0100 Subject: [PATCH] baackend: allow meeting timeouts to be set via environment variables --- meet-ce/backend/src/config/internal-config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meet-ce/backend/src/config/internal-config.ts b/meet-ce/backend/src/config/internal-config.ts index 503003d1..88e8670e 100644 --- a/meet-ce/backend/src/config/internal-config.ts +++ b/meet-ce/backend/src/config/internal-config.ts @@ -53,8 +53,8 @@ export const INTERNAL_CONFIG = { CRON_JOB_MIN_LOCK_TTL: '59s' as StringValue, // Minimum TTL for cron job locks // Additional intervals MIN_FUTURE_TIME_FOR_ROOM_AUTODELETION_DATE: '1h' as StringValue, // Minimum time for room auto-deletion date - MEETING_EMPTY_TIMEOUT: '20s' as StringValue, // Seconds to keep the meeting (LK room) open until the first participant joins - MEETING_DEPARTURE_TIMEOUT: '20s' as StringValue // Seconds to keep the meeting (LK room) open after the last participant leaves + MEETING_EMPTY_TIMEOUT: (process.env.MEETING_EMPTY_TIMEOUT || '20s') as StringValue, // Seconds to keep the meeting (LK room) open until the first participant joins + MEETING_DEPARTURE_TIMEOUT: (process.env.MEETING_DEPARTURE_TIMEOUT || '20s') as StringValue // Seconds to keep the meeting (LK room) open after the last participant leaves }; // This function is used to set private configuration values for testing purposes.