We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab579df commit 19e409bCopy full SHA for 19e409b
lib/inspector.py
@@ -7,7 +7,6 @@
7
from gevent.server import StreamServer
8
9
from lib.utils import bytes_to_str
10
-from lib.utils import find_port
11
from lib.utils import prefix_each_line
12
from lib.utils import str_to_bytes
13
from lib.colorer import color_stdout
@@ -52,10 +51,6 @@ class TarantoolInspector(StreamServer):
52
51
"""
53
54
def __init__(self, host, port):
55
- # When specific port range was acquired for current worker, don't allow
56
- # OS set port for us that isn't from specified range.
57
- if port == 0:
58
- port = find_port()
59
super(TarantoolInspector, self).__init__((host, port))
60
self.parser = None
61
0 commit comments