kopia lustrzana https://github.com/Yakifo/amqtt
rodzic
56f3c911dd
commit
13c4a8a09f
|
@ -225,6 +225,9 @@ class Broker:
|
||||||
for listener_name in self.listeners_config:
|
for listener_name in self.listeners_config:
|
||||||
listener = self.listeners_config[listener_name]
|
listener = self.listeners_config[listener_name]
|
||||||
|
|
||||||
|
if 'bind' not in listener:
|
||||||
|
self.logger.debug("Listener configuration '%s' is not bound" % listener_name)
|
||||||
|
else:
|
||||||
# Max connections
|
# Max connections
|
||||||
try:
|
try:
|
||||||
max_connections = listener['max_connections']
|
max_connections = listener['max_connections']
|
||||||
|
|
Ładowanie…
Reference in New Issue