Skip to content

Code monitors: run in parallel and add worker timeout

Warren Gifford requested to merge cc/monitors-parallel into main

Created by: camdencheek

The current worker settings limit code monitors to only run a single in parallel. There is no reason we can't run monitors in parallel, so this ups the parallelism to 4. This is useful when there are many code monitors.

Additionally, it adds a timeout to the worker jobs to catch any blocked jobs that aren't covered by the query timeout. This is useful for things like stalled db queries before the execution starts.

Stacked on #35597

Test plan

Just tuning worker params.

Merge request reports

Loading