web: remove manually starting of queuemetrics
This commit is contained in:
parent
ef8d320c95
commit
8df35e720e
1 changed files with 1 additions and 4 deletions
5
web.py
5
web.py
|
@ -1,7 +1,7 @@
|
|||
import logging
|
||||
import logging.config
|
||||
|
||||
from app import app as application, queue_metrics
|
||||
from app import app as application
|
||||
|
||||
from endpoints.api import api_bp
|
||||
from endpoints.web import web
|
||||
|
@ -9,9 +9,6 @@ from endpoints.webhooks import webhooks
|
|||
from endpoints.realtime import realtime
|
||||
from endpoints.callbacks import callback
|
||||
|
||||
# Start the cloudwatch reporting.
|
||||
queue_metrics.run()
|
||||
|
||||
application.register_blueprint(web)
|
||||
application.register_blueprint(callback, url_prefix='/oauth2')
|
||||
application.register_blueprint(api_bp, url_prefix='/api')
|
||||
|
|
Reference in a new issue