Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache JobDefinition.get_job_index (#23722)
Summary: This can take seconds on large jobs, and we call it at twice when loading a new code location when using defer_snapshots=True - once when generating the IDs for the JobRefs,and then again when loading the actual jobs. Test Plan: BK, verify when running an agent locally that this is called only once per job when loading a new code locatoin ## Summary & Motivation ## How I Tested These Changes
- Loading branch information