Fix ActiveContext pause control check
What does this MR do and why?
Currently, the ActiveContext.pause? check returns false if ::ActiveContext.indexing? is false. I think this is an inverse condition. It should be:
| ActiveContext indexing enabled? | Pause? |
|---|---|
| NO | YES, and immediately return true
|
| YES | NO, and proceed to next pause-control checks |
References
MR introducing pause control: Active Context: Add pause_control (!198912 - merged)
Screenshots or screen recordings
N/A
How to set up and validate locally
N/A
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Pam Artiaga