mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Merge pull request #34749 from david-mcmahon/cache-fix
Automatic merge from submit-queue Increase job cache limit to 300 and leave a TODO.
This commit is contained in:
commit
ff06372a11
@ -188,7 +188,11 @@ function update_job_result_cache() {
|
||||
local -r version=$(find_version)
|
||||
local -r job_results=${gcs_job_path}/jobResultsCache.json
|
||||
local -r tmp_results="${WORKSPACE}/_tmp/jobResultsCache.tmp"
|
||||
local -r cache_size=200
|
||||
# TODO: This constraint is insufficient. The boundary for secondary
|
||||
# job cache should be date based on the last primary build.
|
||||
# The issue is we are trying to find a matched green set of results
|
||||
# at a given hash, but all of the jobs run at wildly different lengths.
|
||||
local -r cache_size=300
|
||||
local upload_attempt
|
||||
|
||||
if [[ -n "${version}" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user