549b812ed7314ebd70b4acc7d78469158ca42512,web/index.py,,start,#,59
Before Change
http_server = HTTPServer(WSGIContainer(app), ssl_options=ssl_options)
http_server.bind(flaskPort, address=flaskHost)
http_server.start(0) // Forks multiple sub-processes
IOLoop.instance().start()
After Change
if flaskDebug:
// start debug flask server
logger.info("Server starting...")
socketio.run(app, host=flaskHost, port=flaskPort, debug=flaskDebug)
else:
// start asynchronous server using tornado wrapper for flask
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances Project Name: cve-search/cve-search
Commit Name: 549b812ed7314ebd70b4acc7d78469158ca42512
Time: 2020-10-22
Author: paul.tikken@gmail.com
File Name: web/index.py
Class Name:
Method Name: start
Project Name: MaybeShewill-CV/CRNN_Tensorflow
Commit Name: ed66679b71989f55cc25d7adf69e386ad27c2063
Time: 2019-03-22
Author: luoyao@baidu.com
File Name: data_provider/tf_io_pipline_fast_tools.py
Class Name: CrnnFeatureWriter
Method Name: run
Project Name: home-assistant/home-assistant
Commit Name: f4c77c85bdda261abf04ea1a87bfc7df739234a7
Time: 2014-04-17
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/components/wemo.py
Class Name:
Method Name: setup