aboutsummaryrefslogtreecommitdiffstats
path: root/syz-ci/jobs.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-05-09 14:43:47 +0200
committerAleksandr Nogikh <wp32pw@gmail.com>2023-05-09 15:08:20 +0200
commita4f0ae5e41b92db1cfcc4172269dbd585410218d (patch)
tree882f8c9c3b7c34faba6f635f2cd3fa9e0992489b /syz-ci/jobs.go
parent6ec847515382609ea0dbfaa681309afdeed01576 (diff)
syz-ci: increase bisection job timeout
Earlier it was limited to 8 hours mostly because syz-ci could execute only one job at a time. Now that it's no longer the case, we can increase the timeout to 12 hours.
Diffstat (limited to 'syz-ci/jobs.go')
-rw-r--r--syz-ci/jobs.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/syz-ci/jobs.go b/syz-ci/jobs.go
index 38a2546c6..b717ade4f 100644
--- a/syz-ci/jobs.go
+++ b/syz-ci/jobs.go
@@ -484,11 +484,9 @@ func (jp *JobProcessor) bisect(job *Job, mgrcfg *mgrconfig.Config) error {
// - 4026 finished under 10h (98.8%)
// - 4032 finished under 12h (98.9%)
// Significant increase in errors starts after ~12h.
- // The current timeout also take into account that bisection jobs
- // compete with patch testing jobs (it's bad delaying patch testing).
- // When/if bisection jobs don't compete with patch testing,
- // it makes sense to increase this to 12-24h.
- Timeout: 8 * time.Hour,
+ // Bisection jobs are now executed in parallel to patch testing, so it doesn't destroy user experience.
+ // Let's set the timeout to 12h.
+ Timeout: 12 * time.Hour,
Fix: req.Type == dashapi.JobBisectFix,
DefaultCompiler: mgr.mgrcfg.Compiler,
CompilerType: mgr.mgrcfg.CompilerType,