Removes debug logging from asyncio loop

This commit is contained in:
Oleg Silkin 2019-07-24 02:45:31 -04:00
parent 02babe770f
commit e9c60cdca3
2 changed files with 1 additions and 2 deletions

View file

@ -4,7 +4,7 @@ PartOf=comment-server.target
[Service] [Service]
Type=simple Type=simple
User=oleg User=lbry
WorkingDirectory=/home/lbry/comment-server/ WorkingDirectory=/home/lbry/comment-server/
ExecStart=/home/lbry/comment-server/venv/bin/commentserv --port %i ExecStart=/home/lbry/comment-server/venv/bin/commentserv --port %i
Restart=on-failure Restart=on-failure

View file

@ -105,7 +105,6 @@ def run_app(config):
comment_app = CommentDaemon(config=config, db_path='DEFAULT', close_timeout=5.0) comment_app = CommentDaemon(config=config, db_path='DEFAULT', close_timeout=5.0)
loop = asyncio.get_event_loop() loop = asyncio.get_event_loop()
loop.set_debug(True)
def __exit(): def __exit():
raise web.GracefulExit() raise web.GracefulExit()