

def start_services(self):
    sockets = tornado.netutil.bind_sockets(self.port, address=Settings['api_app']['servername'])
    tornado.process.fork_processes(Settings['tornado']['num_workers'])
    server = tornado.httpserver.HTTPServer(api_application)
    server.add_sockets(sockets)

dataset/ETHPy150Open YelpArchive/pushmanager/pushmanager/pushmanager_api.py PushManagerAPIApp.start_services/original