ELB connection draining timeout defaults to 300 seconds
This commit is contained in:
parent
d8a8f88dc6
commit
98264148e1
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ class ELBResponse(BaseResponse):
|
|||
if connection_draining:
|
||||
attribute = ConnectionDrainingAttribute()
|
||||
attribute.enabled = connection_draining["enabled"] == "true"
|
||||
attribute.timeout = connection_draining["timeout"]
|
||||
attribute.timeout = connection_draining.get("timeout")
|
||||
self.elb_backend.set_connection_draining_attribute(
|
||||
load_balancer_name, attribute)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue