Make idle sestting 30sec in nightly (#6972)

This commit is contained in:
Pierre Jacquier
2025-05-15 13:17:59 -04:00
committed by GitHub
parent b898c27e74
commit 8587eb5fea

View File

@ -24,6 +24,7 @@ import { Themes } from '@src/lib/theme'
import { reportRejection } from '@src/lib/trap'
import { isEnumMember } from '@src/lib/types'
import { capitaliseFC, isArray, toSync } from '@src/lib/utils'
import { IS_NIGHTLY_OR_DEBUG } from '@src/routes/utils'
/**
* A setting that can be set at the user or project level
@ -211,7 +212,7 @@ export function createSettings() {
* Stream resource saving behavior toggle
*/
streamIdleMode: new Setting<number | undefined>({
defaultValue: 5 * MS_IN_MINUTE,
defaultValue: IS_NIGHTLY_OR_DEBUG ? 30 * 1000 : 5 * MS_IN_MINUTE,
hideOnLevel: 'project',
hideOnPlatform: 'both',
description: 'Save bandwidth & battery',