chore(cli): reduce default terminal background polling interval to 5s

This commit is contained in:
Dan Zaharia
2026-03-04 12:04:15 -05:00
parent 3013a0acb5
commit 72b5329eda
3 changed files with 4 additions and 4 deletions

View File

@@ -450,7 +450,7 @@ const SETTINGS_SCHEMA = {
label: 'Terminal Background Polling Interval',
category: 'UI',
requiresRestart: false,
default: 60,
default: 5,
description:
'Interval in seconds to poll the terminal background color.',
showInDialog: true,

View File

@@ -43,7 +43,7 @@ const mockSettings = {
themeLight: 'default', // DEFAULT_THEME.name
themeDark: 'default',
autoThemeSwitching: true,
terminalBackgroundPollingInterval: 60,
terminalBackgroundPollingInterval: 5,
},
},
};

View File

@@ -229,8 +229,8 @@
"terminalBackgroundPollingInterval": {
"title": "Terminal Background Polling Interval",
"description": "Interval in seconds to poll the terminal background color.",
"markdownDescription": "Interval in seconds to poll the terminal background color.\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `60`",
"default": 60,
"markdownDescription": "Interval in seconds to poll the terminal background color.\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `5`",
"default": 5,
"type": "number"
},
"customThemes": {