def start(): init_cassandra(app.config['DSE_CLUSTER'].split(','), app.config['KEYSPACE']) web.init() app.run(host='0.0.0.0', port=app.config['APPLICATION_PORT'], use_reloader=True, threaded=True)
def start(): init_cassandra(app.config['DSE_CLUSTER'].split(','), app.config['DSE_KEYSPACE'], app.config['DSE_SOLR_DC']) app.run(host='0.0.0.0', port=5001, use_reloader=True, threaded=True)
def start(): init_cassandra(app.config["DSE_CLUSTER"].split(","), app.config["DSE_KEYSPACE"], app.config["DSE_SOLR_DC"]) app.run(host="0.0.0.0", port=5002, use_reloader=True, threaded=True)