Commit 5366d15
Fix: Set Normal process priority for logon startup task
The default priority for Windows Task Scheduler tasks is Low (7),
which causes Flow Launcher to be sluggish when other processes are
consuming CPU. Explicitly set the task priority to Normal when
creating the logon startup task.
Also update CheckLogonTask() to recreate the task if the priority
is not Normal, so existing users with the incorrect priority get
automatically fixed on next startup.
Co-authored-by: Jack251970 <53996452+Jack251970@users.noreply.github.com>1 parent f4ed8ae commit 5366d15
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
184 | 186 | | |
185 | 187 | | |
186 | 188 | | |
| 189 | + | |
187 | 190 | | |
188 | 191 | | |
189 | 192 | | |
| |||
0 commit comments