[zmq] Dynamic port range is ignored
If we specify the default range to pyzmq function, means default values are the same as pyzmq default values we fallback to bind-0 system call which is not appropriate for us as it binds in maximal range > 1024. https://github.com/zeromq/pyzmq/blob/master/zmq/sugar/socket.py#L212 Change-Id: Idacd99d83c8fb9ad222a7bda187fa67a9b0348da Closes-Bug: #1550104
This commit is contained in:
parent
ed84711596
commit
76ab2c4f62
@ -84,7 +84,7 @@ zmq_opts = [
|
|||||||
'PUB/SUB always uses proxy.'),
|
'PUB/SUB always uses proxy.'),
|
||||||
|
|
||||||
cfg.PortOpt('rpc_zmq_min_port',
|
cfg.PortOpt('rpc_zmq_min_port',
|
||||||
default=49152,
|
default=49153,
|
||||||
help='Minimal port number for random ports range.'),
|
help='Minimal port number for random ports range.'),
|
||||||
|
|
||||||
cfg.IntOpt('rpc_zmq_max_port',
|
cfg.IntOpt('rpc_zmq_max_port',
|
||||||
|
Loading…
Reference in New Issue
Block a user