File tree 1 file changed +1
-15
lines changed
1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ func initTryBuilders() {
109
109
"nacl-386" ,
110
110
"nacl-amd64p32" ,
111
111
"linux-arm" ,
112
+ "misc-vet-vetall" ,
112
113
}
113
114
for name := range dashboard .Builders {
114
115
if strings .HasPrefix (name , "misc-compile" ) {
@@ -400,18 +401,6 @@ func numCurrentBuilds() int {
400
401
return len (status )
401
402
}
402
403
403
- func numCurrentVetAllBuilds () int {
404
- statusMu .Lock ()
405
- defer statusMu .Unlock ()
406
- n := 0
407
- for br := range status {
408
- if strings .HasSuffix (br .name , "-vetall" ) {
409
- n ++
410
- }
411
- }
412
- return n
413
- }
414
-
415
404
func isBuilding (work builderRev ) bool {
416
405
statusMu .Lock ()
417
406
defer statusMu .Unlock ()
@@ -431,9 +420,6 @@ func mayBuildRev(rev builderRev) bool {
431
420
if isBuilding (rev ) {
432
421
return false
433
422
}
434
- if strings .HasSuffix (rev .name , "-vetall" ) && numCurrentVetAllBuilds () > 0 {
435
- return false
436
- }
437
423
if buildEnv .MaxBuilds > 0 && numCurrentBuilds () >= buildEnv .MaxBuilds {
438
424
return false
439
425
}
You can’t perform that action at this time.
0 commit comments