equal
deleted
inserted
replaced
38 container = wsgi.WSGIContainer(app) |
38 container = wsgi.WSGIContainer(app) |
39 http_server = httpserver.HTTPServer(container) |
39 http_server = httpserver.HTTPServer(container) |
40 http_server.listen(port, interface) |
40 http_server.listen(port, interface) |
41 repo = app.appli.repo |
41 repo = app.appli.repo |
42 try: |
42 try: |
43 repo.start_looping_tasks() |
|
44 LOGGER.info('starting http server on %s', config['base-url']) |
43 LOGGER.info('starting http server on %s', config['base-url']) |
45 ioloop.IOLoop.instance().start() |
44 ioloop.IOLoop.instance().start() |
46 finally: |
45 finally: |
47 repo.shutdown() |
46 repo.shutdown() |