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', core = 'mihomo',
autoSetDNS = true, autoSetDNS = true,
diffWorkDir = false, diffWorkDir = false,
mihomoCpuPriority = 'PRIORITY_HIGHEST' mihomoCpuPriority = 'PRIORITY_NORMAL'
} = await getAppConfig() } = await getAppConfig()
const { 'log-level': logLevel } = await getControledMihomoConfig() const { 'log-level': logLevel } = await getControledMihomoConfig()
if (existsSync(path.join(dataDir(), 'core.pid'))) { if (existsSync(path.join(dataDir(), 'core.pid'))) {

View File

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