Skip to content

Commit

Permalink
Increase job cache limit to 300 and leave a TODO.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-mcmahon committed Oct 13, 2016
1 parent a474b2b commit c5a61a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hack/jenkins/upload-to-gcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5a61a6

Please sign in to comment.