Fix pause showing Provider-Cooldown, lower extraction I/O priority
- Add pause check at top of processItem retry loop so items show "Pausiert" instead of "Provider-Cooldown" when paused - Lower extraction process priority from BELOW_NORMAL to IDLE (IDLE_PRIORITY_CLASS on Windows also lowers I/O priority, reducing disk contention between extraction and active downloads) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
e90e731eaa
commit
55e5b0079a
@@ -445,7 +445,9 @@ function lowerExtractProcessPriority(childPid: number | undefined): void {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
os.setPriority(pid, os.constants.priority.PRIORITY_BELOW_NORMAL);
|
||||
// PRIORITY_LOW = IDLE_PRIORITY_CLASS on Windows, which also lowers I/O priority
|
||||
// so extraction doesn't starve downloads or UI from disk bandwidth
|
||||
os.setPriority(pid, os.constants.priority.PRIORITY_LOW);
|
||||
} catch {
|
||||
// ignore: priority lowering is best-effort
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user