# HG changeset patch # User Denis Laxalde # Date 1488802551 -3600 # Node ID 89611a994572eca877d7594f0c6fdd555ab7cba2 # Parent 1b9fd8bda1cdbb585f4d8f1207f43a7f8e321dad [wsgi] Drop calls to repo.start_looping_tasks It's unlikely that these implementations were ever used so we do not bother with deprecation or a warning. We just drop the call to this method which should not be called from within a WSGI application. Related to #17057223. diff -r 1b9fd8bda1cd -r 89611a994572 cubicweb/wsgi/server.py --- a/cubicweb/wsgi/server.py Mon Mar 06 15:16:53 2017 +0100 +++ b/cubicweb/wsgi/server.py Mon Mar 06 13:15:51 2017 +0100 @@ -39,7 +39,6 @@ httpd.set_app(app) repo = app.appli.repo try: - repo.start_looping_tasks() LOGGER.info('starting http server on %s', config['base-url']) httpd.serve_forever() finally: diff -r 1b9fd8bda1cd -r 89611a994572 cubicweb/wsgi/tnd.py --- a/cubicweb/wsgi/tnd.py Mon Mar 06 15:16:53 2017 +0100 +++ b/cubicweb/wsgi/tnd.py Mon Mar 06 13:15:51 2017 +0100 @@ -40,7 +40,6 @@ http_server.listen(port, interface) repo = app.appli.repo try: - repo.start_looping_tasks() LOGGER.info('starting http server on %s', config['base-url']) ioloop.IOLoop.instance().start() finally: diff -r 1b9fd8bda1cd -r 89611a994572 cubicweb/wsgi/wz.py --- a/cubicweb/wsgi/wz.py Mon Mar 06 15:16:53 2017 +0100 +++ b/cubicweb/wsgi/wz.py Mon Mar 06 13:15:51 2017 +0100 @@ -38,7 +38,6 @@ app = CubicWebWSGIApplication(config) repo = app.appli.repo try: - repo.start_looping_tasks() LOGGER.info('starting http server on %s', config['base-url']) run_simple(interface, port, app, threaded=True,