Merge pull request #10580: [BEAM-9116] Limit the number of past invocations stored in JobServer