Removes debug logging from asyncio loop
This commit is contained in:
parent
02babe770f
commit
e9c60cdca3
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue