Addressing comments.

pull/7329/head
Nicolas "Pixel" Noble 9 years ago
parent 1c41c29c26
commit 9183314435
  1. 2
      src/python/grpcio/grpc/__init__.py
  2. 4
      tools/run_tests/run_tests.py

@ -1218,7 +1218,7 @@ def server(thread_pool, handlers=None):
thread_pool: A futures.ThreadPoolExecutor to be used by the returned Server
to service RPCs.
handlers: An optional sequence of GenericRpcHandlers to be used to service
RPCs after the returned Server is started. These andlers need not be the
RPCs after the returned Server is started. These handlers need not be the
only handlers the server will use to service RPCs; other handlers may
later be added by calling add_generic_rpc_handlers any time before the
returned Server is started.

@ -1106,10 +1106,6 @@ def _shut_down_legacy_server(legacy_server_port):
def _start_port_server(port_server_port):
# Temporary patch to switch the port_server port
# see https://github.com/grpc/grpc/issues/7145
_shut_down_legacy_server(32767)
# check if a compatible port server is running
# if incompatible (version mismatch) ==> start a new one
# if not running ==> start a new one

Loading…
Cancel
Save