Skip to content
Snippets Groups Projects
Commit 501f65c7 authored by Nikolay Stanchev's avatar Nikolay Stanchev
Browse files

Moves the constant bandwidth setting to clmc-service config, easier to change if needed

parent c9a2af5e
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ def main(global_config, **settings):
settings['influx_port'] = int(settings['influx_port']) # the influx port setting must be converted to integer instead of a string
settings['kapacitor_port'] = int(settings['kapacitor_port']) # the kapacitor port setting must be converted to integer instead of a string
settings["network_bandwidth"] = 104857600 # TODO currently assumed fixed bandwidth across all links
settings["network_bandwidth"] = int(settings["network_bandwidth"]) # TODO currently assumed fixed bandwidth across all links
config = Configurator(settings=settings)
......
......@@ -15,7 +15,8 @@ pyramid.includes = pyramid_debugtoolbar pyramid_exclog
exclog.ignore =
network_configuration_path = /vagrant/src/service/resources/GraphAPI/network_clusters.json
network_configuration_path = /opt/clmc/src/service/resources/GraphAPI/network_clusters.json
network_bandwidth = 104857600
# PostgreSQL connection url
sqlalchemy.url = postgresql://clmc:clmc_service@localhost:5432/whoamidb
......
......@@ -16,6 +16,7 @@ exclog.ignore =
network_configuration_path = /opt/clmc/src/service/resources/GraphAPI/network_clusters.json
network_bandwidth = 104857600
# PostgreSQL connection url
sqlalchemy.url = postgresql://clmc:clmc_service@localhost:5432/whoamidb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment