Skip to content

repos/scheduler: Add comments and simplify if-else in runUpdateLoop

Warren Gifford requested to merge ig/repos-scheduler into main

Created by: indradhanush

The code in the else-if block is not related to the condition in the if-block. As a result they can be separate if-blocks and also as a positive effect allow us to return early from the function.

Co-authored-by: Ryan Slade [email protected]

Test plan

No change in functionality. This PR includes some comments and a tiny reorganisation for better readability.

Merge request reports

Loading