Skip to content

Commit

Permalink
fix(nvd-mirror): increase deadline to 2h (google#2538)
Browse files Browse the repository at this point in the history
Given the cron job runs every 2 hours, there's nothing gained by
arbitrarily terminating it before that. At 260K records over 130 pages,
the best case scenario for *retrieval* alone is ~780 seconds (and
growing) and with intermittent failures and retries, could exceed an
hour.

And that's before the time taken to split by year.
  • Loading branch information
andrewpollock authored Aug 29, 2024
1 parent 2ebc210 commit e035a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/clouddeploy/gke-workers/base/nvd-mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
failedJobsHistoryLimit: 3
jobTemplate:
spec:
activeDeadlineSeconds: 2100
activeDeadlineSeconds: 7200
template:
spec:
tolerations:
Expand Down

0 comments on commit e035a1f

Please sign in to comment.