Increase port cleanup interval
If we set the interval too short (currently 3m), we may delete a port which simply hasn't been attached to an instance yet if instance creation is proceeding slowly. Change-Id: I372e45f2442003369ab9057e1e5d468249e23dad
This commit is contained in:
parent
1c97e4f690
commit
75adc01f0a
@ -51,7 +51,10 @@ class OpenStackProvider(Provider):
|
||||
self._zk = None
|
||||
self._down_ports = set()
|
||||
self._last_port_cleanup = None
|
||||
self._port_cleanup_interval_secs = 180
|
||||
# Set this long enough to avoid deleting a port which simply
|
||||
# hasn't yet been attached to an instance which is being
|
||||
# created.
|
||||
self._port_cleanup_interval_secs = 600
|
||||
self._statsd = stats.get_client()
|
||||
|
||||
def start(self, zk_conn):
|
||||
|
Loading…
Reference in New Issue
Block a user