Removing deprecated dispose method call

The dispose method call against neutron.db.api has been removed in this
iteration of neutron (Ocata). Removing this call as it may not have ever
been needed based on the accompanying comment on that line.

Change-Id: I3d8c5d50650abda8064eb860118ae2e40d3662a5
Closes-Bug: 1714536
This commit is contained in:
Kyle Haley 2017-09-05 11:03:46 -07:00
parent 500817ab95
commit 92fa456c71
1 changed files with 0 additions and 2 deletions

View File

@ -28,7 +28,6 @@ from stevedore import extension
from neutron._i18n import _
from neutron._i18n import _LE
from neutron.common import config
from neutron.db import api as session
from neutron import service
from quark.worker_plugins import base_worker
@ -104,7 +103,6 @@ class QuarkAsyncServer(object):
try:
rpc = service.RpcWorker(self.plugins)
session.dispose() # probaby not needed, but maybe
launcher = common_service.ProcessLauncher(CONF, wait_interval=1.0)
launcher.launch_service(rpc, workers=CONF.QUARK_ASYNC.rpc_workers)