Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#937 | disabling profiler by default in dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Dec 9, 2023
1 parent 087f8c5 commit 84e2ce1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,6 @@
# Profiler Django Silk
if ENV == 'development':
INSTALLED_APPS = [*INSTALLED_APPS, 'silk']
MIDDLEWARE = [*MIDDLEWARE, "silk.middleware.SilkyMiddleware"]
SILKY_PYTHON_PROFILER = True
SILKY_PYTHON_PROFILER_RESULT_PATH = '/code/core/'
# MIDDLEWARE = [*MIDDLEWARE, "silk.middleware.SilkyMiddleware"]
# SILKY_PYTHON_PROFILER = True
# SILKY_PYTHON_PROFILER_RESULT_PATH = '/code/core/'

0 comments on commit 84e2ce1

Please sign in to comment.