2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00

Suppress pre-reading if read-all is also selected (as it is redundant) (#84)

This commit is contained in:
F K 2022-05-28 08:54:10 -04:00 committed by GitHub
parent 8de34a141c
commit 6616b54852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,8 @@ namespace Observatory
public void PrereadJournals()
{
if (!Properties.Core.Default.TryPrimeSystemContextOnStartMonitor) return;
if (!Properties.Core.Default.TryPrimeSystemContextOnStartMonitor ||
Properties.Core.Default.StartReadAll) return;
SetLogMonitorState(currentState | LogMonitorState.PreRead);