diff options
| author | Taras Madan <tarasmadan@google.com> | 2024-10-02 14:01:18 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2024-10-03 06:28:48 +0000 |
| commit | 8d93ec36dfa27399f02ef29ca40b09d1fe582319 (patch) | |
| tree | e440a0e578bf8d697d1f6bf34be1bc22ff44e793 | |
| parent | a4c7fd368e7fe673bf42e15a0e70be5d60df195e (diff) | |
dashboard/app: set coverage batching timeout to 12 hours
Sometimes 6 hours are not enough to make the quarter long aggregation.
Typically 5 hours 30 minutes are enough.
And bonus - delete unused constant.
| -rw-r--r-- | dashboard/app/coverage_batch.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/dashboard/app/coverage_batch.go b/dashboard/app/coverage_batch.go index 505fbe00d..8a720066c 100644 --- a/dashboard/app/coverage_batch.go +++ b/dashboard/app/coverage_batch.go @@ -25,10 +25,7 @@ func initCoverageBatches() { http.HandleFunc("/cron/batch_coverage", handleBatchCoverage) } -const ( - daysToMerge = 7 - batchTimeoutSeconds = 60 * 60 * 6 -) +const batchTimeoutSeconds = 60 * 60 * 12 func handleBatchCoverage(w http.ResponseWriter, r *http.Request) { ctx := appengine.NewContext(r) |
