File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
55 namespace : operational-metrics
66spec :
77 # Every 2 hours
8- # Frequency must match that of amend_pull_request_data.py
8+ # Half of the lookback window in amend_pull_request_data.py
99 schedule : " 0 */2 * * *"
1010 timeZone : " Etc/UTC"
1111 concurrencyPolicy : Forbid
Original file line number Diff line number Diff line change 66from google .cloud import bigquery
77import operational_metrics_lib
88
9- # Must match the frequency of cronjobs/amend_pull_request_data_cronjob.yaml
10- LOOKBACK_HOURS = 2
9+ # Twice the frequency of cronjobs/amend_pull_request_data_cronjob.yaml
10+ LOOKBACK_HOURS = 4
1111
1212# BigQuery dataset and tables to write metrics to.
1313OPERATIONAL_METRICS_DATASET = "operational_metrics"
You can’t perform that action at this time.
0 commit comments