Enable background throttling for beta users
This commit is contained in:
parent
0c28561473
commit
4f53a41340
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ import type { MenuOptionsType } from './menu';
|
|||
import { createTemplate } from './menu';
|
||||
import { installFileHandler, installWebHandler } from './protocol_filter';
|
||||
import * as OS from '../ts/OS';
|
||||
import { isProduction, isAlpha } from '../ts/util/version';
|
||||
import { isProduction } from '../ts/util/version';
|
||||
import {
|
||||
isSgnlHref,
|
||||
isCaptchaHref,
|
||||
|
@ -120,7 +120,7 @@ const development =
|
|||
getEnvironment() === Environment.Development ||
|
||||
getEnvironment() === Environment.Staging;
|
||||
|
||||
const isThrottlingEnabled = development || isAlpha(app.getVersion());
|
||||
const isThrottlingEnabled = development || !isProduction(app.getVersion());
|
||||
|
||||
const enableCI = config.get<boolean>('enableCI');
|
||||
const forcePreloadBundle = config.get<boolean>('forcePreloadBundle');
|
||||
|
|
Loading…
Reference in a new issue