change default priority

This commit is contained in:
pompurin404 2024-11-14 22:35:07 +08:00
parent 75e754f03b
commit fddb641945
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ export async function startCore(detached = false): Promise<Promise<void>[]> {
core = 'mihomo',
autoSetDNS = true,
diffWorkDir = false,
mihomoCpuPriority = 'PRIORITY_HIGHEST'
mihomoCpuPriority = 'PRIORITY_NORMAL'
} = await getAppConfig()
const { 'log-level': logLevel } = await getControledMihomoConfig()
if (existsSync(path.join(dataDir(), 'core.pid'))) {

View File

@ -23,7 +23,7 @@ const MihomoConfig: React.FC = () => {
pauseSSID = [],
delayTestUrl,
userAgent,
mihomoCpuPriority = 'PRIORITY_HIGHEST',
mihomoCpuPriority = 'PRIORITY_NORMAL',
proxyCols = 'auto'
} = appConfig || {}
const [url, setUrl] = useState(delayTestUrl)