Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
codelion authored Nov 7, 2023
1 parent 748596c commit 2f81b27
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/jormungandr/jormungandr/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ def output_json(data, code, headers=None):
return resp




@app.after_request
def access_log(response, *args, **kwargs):
logger = logging.getLogger('jormungandr.access')
Expand Down Expand Up @@ -152,8 +150,6 @@ def add_info_newrelic(response, *args, **kwargs):

from werkzeug.contrib.profiler import ProfilerMiddleware



rest_api.app.config['PROFILE'] = True
f = open('/tmp/profiler.log', 'a')
rest_api.app.wsgi_app = ProfilerMiddleware(
Expand Down

0 comments on commit 2f81b27

Please sign in to comment.