diff --git a/app/main.ts b/app/main.ts index 3a5c5f1ed2..bfdd37e094 100644 --- a/app/main.ts +++ b/app/main.ts @@ -136,8 +136,6 @@ const development = getEnvironment() === Environment.Development || getEnvironment() === Environment.Staging; -const isThrottlingEnabled = development || !isProduction(app.getVersion()); - const enableCI = config.get('enableCI'); const forcePreloadBundle = config.get('forcePreloadBundle'); @@ -685,7 +683,7 @@ async function createWindow() { : '../ts/windows/main/preload.js' ), spellcheck: await getSpellCheckSetting(), - backgroundThrottling: isThrottlingEnabled, + backgroundThrottling: true, enablePreferredSizeMode: true, disableBlinkFeatures: 'Accelerated2dCanvas,AcceleratedSmallCanvases', }, @@ -998,10 +996,6 @@ ipc.on('set-is-call-active', (_event, isCallActive) => { return; } - if (!isThrottlingEnabled) { - return; - } - let backgroundThrottling: boolean; if (isCallActive) { getLogger().info('Background throttling disabled because a call is active');