Page MenuHomePhabricator

RunSingleJob.php's readonly backoff behaviour will never be triggered
Open, Needs TriagePublic

Description

Currently RunSingleJob tries to do a random sleep to avoid overwhelming jobrunners when a site is set to read-only using this check. However, this check will never be executed, as a negative status result will always cause EventBus to throw an exception.

If this a desired functionality, we need to reimplement it, and if not we should remove this check.

This emerged as part of the work on T373517.