Skip to content

Commit

Permalink
ref: remove SESSION_FILE_PATH mkdir (#63021)
Browse files Browse the repository at this point in the history
sentry always uses signed cookie sesions and not file sessions

<!-- Describe your PR here. -->
  • Loading branch information
asottile-sentry committed Jan 12, 2024
1 parent 323f746 commit ee28eed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/sentry/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@

configure()

if settings.SESSION_FILE_PATH and not os.path.exists(settings.SESSION_FILE_PATH):
os.makedirs(settings.SESSION_FILE_PATH, exist_ok=True)

from django.core.handlers.wsgi import WSGIHandler

# Run WSGI handler for the application
Expand Down

0 comments on commit ee28eed

Please sign in to comment.