Allow configuration of gateway HTTP port rather than hardcoding.

This commit is contained in:
James Muscat 2015-04-14 16:38:56 +01:00
parent 46292e3c30
commit ddd81574ed
2 changed files with 3 additions and 1 deletions

View File

@ -200,7 +200,7 @@ def main():
loadConfig()
configure()
run(host='0.0.0.0', port=8080, server='gevent')
run(host='0.0.0.0', port=Settings.GATEWAY_HTTP_PORT, server='gevent')
if __name__ == '__main__':

View File

@ -27,6 +27,8 @@ class _Settings(object):
# Gateway settings
###############################################################################
GATEWAY_HTTP_PORT = 8080
GATEWAY_SENDER_BINDINGS = ["tcp://*:8500"]
GATEWAY_IP_KEY_SALT = None