Browse Source

scan with below-normal priority when unforced (#1123)

pull/1124/head
Jason Dove 3 years ago committed by GitHub
parent
commit
3b135df4c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.md
  2. 2
      ErsatzTV.Scanner/Worker.cs

2
CHANGELOG.md

@ -13,7 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Always use software pipeline for error display - Always use software pipeline for error display
- This ensures errors will display even when hardware acceleration is misconfigured - This ensures errors will display even when hardware acceleration is misconfigured
- Call scanner process only when scanning is required based on library refresh interval - Call scanner process only when scanning is required based on library refresh interval
- Use idle priority for scanner process with unforced (automatic) library scans - Use lower process priority for scanner process with unforced (automatic) library scans
## [0.7.2-beta] - 2023-01-05 ## [0.7.2-beta] - 2023-01-05
### Fixed ### Fixed

2
ErsatzTV.Scanner/Worker.cs

@ -181,7 +181,7 @@ public class Worker : BackgroundService
try try
{ {
using var process = Process.GetCurrentProcess(); using var process = Process.GetCurrentProcess();
process.PriorityClass = ProcessPriorityClass.Idle; process.PriorityClass = ProcessPriorityClass.BelowNormal;
} }
catch (Exception ex) catch (Exception ex)
{ {

Loading…
Cancel
Save