Extend the timeout for dead containers to 30 seconds,

but remove them if they are destroyed, to reduce starvation
when users are creating and destroying containers quickly.
This commit is contained in:
Bryan Boreham committed 2016-01-12 14:38:44 +00:00
1 parent b2b293a8ee
commit e468399616
4 files changed
+15 -3

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ const (
tickInterval = time.Second * 5
MinSubnetSize = 4 // first and last addresses are excluded, so 2 would be too small
containerDiedTimeout = time.Second * 5
containerDiedTimeout = time.Second * 30
)
// operation represents something which Allocator wants to do, but