Merge "Revert "Delete MAX_CACHED_PROCESSES and associated constants"" into main