projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
20511: Don't shutdown excess instances just because MaxSupervisors.
[arvados.git]
/
lib
/
dispatchcloud
/
scheduler
/
run_queue.go
diff --git
a/lib/dispatchcloud/scheduler/run_queue.go
b/lib/dispatchcloud/scheduler/run_queue.go
index db6e97b5961e2018965ecec27ccbef818a73ba06..adf89778981311c0d44819773e53f22ea53a13da 100644
(file)
--- a/
lib/dispatchcloud/scheduler/run_queue.go
+++ b/
lib/dispatchcloud/scheduler/run_queue.go
@@
-204,6
+204,8
@@
tryrun:
}
}
}
+ }
+ if len(overquota) > 0 {
// Shut down idle workers that didn't get any
// containers mapped onto them before we hit quota.
for it, n := range unalloc {