Skip to content

Commit

Permalink
Merge pull request breatheco-de#1393 from jefer94/development
Browse files Browse the repository at this point in the history
change in asgi.py
  • Loading branch information
jefer94 authored Jun 14, 2024
2 parents e9006df + 4634c90 commit 2952706
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions breathecode/asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/
"""

# keeps this above
import newrelic.agent

newrelic.agent.initialize()

# the rest of your ASGI file contents go here
import os

Expand All @@ -20,5 +15,3 @@
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'breathecode.settings')

application = get_asgi_application()
if os.getenv('NOWRAP_APP') != '1':
application = newrelic.agent.ASGIApplicationWrapper(application)

0 comments on commit 2952706

Please sign in to comment.