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:
1 parent
b2b293a8ee
commit
e468399616
4 files changed
+15
-3
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user