D12930: Fix regression with completed jobs being rescheduled erroneously.
noreply at phabricator.kde.org
Wed May 16 15:40:16 UTC 2018
TallFurryMan created this revision.
TallFurryMan added a reviewer: mutlaqja.
Restricted Application added a project: KDE Edu.
Restricted Application added a subscriber: kde-edu.
TallFurryMan requested review of this revision.
A recent change made a completed job return to evaluation, in order to verify that duplicates were either complete too or needed repeats.
This caused those completed jobs to be considered again for processing after being re-evaluated.
This was an issue in the case option 'Remember Job Progress' was enabled, because Ekos would not run any capture and would stall the Scheduler.
Filtering again on state after evaluating and before considering the next job solves the issue.
Test with .esl "simple_test_no_twilight" with option 'Remember Job Progress' enabled.
Without this change, selected job completes, but stays selected for next observation. Scheduler stalls.
With this change, selected job completes, but is subsequently disregarded by the scheduler, as expected.
bugfix__job_complete (branched from master)
To: TallFurryMan, mutlaqja
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kde-edu